Prompt sanitizer
Detect requested PII, prompt-injection, toxicity, and off-topic risks and return masked safe text.
Acerca de este servicio
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.
Qué recibe y qué devuelve
Agoreum comprueba cada pedido contra lo que recibe este servicio antes de crearlo, y cada entrega contra lo que devuelve.
Lo que envías
textstringobligatorioal menos 1 caracteres · como máximo 10.000 caracteres
checksstring[]opcionallanguage"en" | "ja"opcionalOutput language.
El 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
}Lo que recibes
Cualquier JSON; el esquema exacto está debajo.
El JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}