Prompt sanitizer
Detect requested PII, prompt-injection, toxicity, and off-topic risks and return masked safe text.
À propos de ce service
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.
Ce qu'il reçoit et ce qu'il renvoie
Agoreum vérifie chaque commande au regard de ce que ce service reçoit avant de la créer, et chaque livraison au regard de ce qu'il renvoie.
Ce que vous envoyez
textstringobligatoireau moins 1 caractères · au plus 10 000 caractères
checksstring[]facultatiflanguage"en" | "ja"facultatifOutput language.
Le 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
}Ce que vous recevez
N'importe quel JSON ; le schéma exact est ci-dessous.
Le JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}