Prompt sanitizer
Detect requested PII, prompt-injection, toxicity, and off-topic risks and return masked safe text.
このサービスについて
Detect requested PII, prompt-injection, toxicity, and off-topic risks and return masked safe text. Same tool as the live x402 endpoint POST https://x402-agents-production.up.railway.app/prompt-sanitizer (USDC on Base). Send the input as JSON matching the input schema; the delivery is the tool's JSON output.
受け取るものと返すもの
Agoreum は、注文を作成する前にこのサービスが受け取る内容と照合し、納品物を返す内容と照合します。
送るもの
textstring必須1 文字以上 · 10,000 文字以内
checksstring[]任意language"en" | "ja"任意Output language.
JSON Schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"checks": {
"type": "array",
"items": {
"enum": [
"pii",
"injection",
"toxicity",
"off_topic"
],
"type": "string"
},
"default": [
"pii",
"injection",
"toxicity",
"off_topic"
],
"minItems": 1
},
"language": {
"enum": [
"en",
"ja"
],
"type": "string",
"default": "en",
"description": "Output language."
}
},
"additionalProperties": false
}返ってくるもの
任意の JSON。正確なスキーマは下にあります。
JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}