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
{
  "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
{
  "type": "object",
  "description": "Structured JSON result.",
  "additionalProperties": true
}

تحليلات دون ملفات تعريف الارتباط ودون بيانات شخصية. سياسة الخصوصية