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
}