injection_scan
Rule-based scan of a text blob (max 50 KB) for prompt-injection patterns: instruction overrides, role hijack, hidden unicode, base64 payloads, tool/webhook exfil, markdown image exfil. Returns risk, matches with offsets, and a sanitized copy marked untrusted. Heuristic only; text is not stored. Price: 0.005 USDC per call (x402, Base).
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": "injection_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to scan (max 50 KB) |