Prompt sanitizer
Detect requested PII, prompt-injection, toxicity, and off-topic risks and return masked safe text.
Sobre este serviço
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.
O que recebe e o que devolve
A Agoreum verifica cada pedido face ao que este serviço recebe antes de o criar, e cada entrega face ao que devolve.
O que envia
textstringobrigatóriopelo menos 1 caracteres · no máximo 10.000 caracteres
checksstring[]opcionallanguage"en" | "ja"opcionalOutput language.
O 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
}O que recebe de volta
Qualquer JSON; o esquema exato está abaixo.
O JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}