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
}