Prompt guard
prompt_guardScan untrusted text for prompt injection, jailbreak attempts, delimiter spoofing, wallet exfiltration, and encoded payloads ($0.001). $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "prompt_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Untrusted text or prompt payload to scan (up to 32000 chars) | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. |