Scan content for prompt injection
check_prompt_injectionScan HTML or text you already have (an email, a document, a tool result, a page fetched elsewhere) for prompt injection before it reaches your prompt. To fetch a URL, use read_url instead; for MCP tool definitions or skill files, use audit_mcp_server or audit_agent_skill. Returns risk (0-1), level (low/medium/high), findings (type, snippet, position, confidence), clean_text and wrapped_text, which marks the rest as untrusted data. Costs US$0.002 in USDC on Base or Solana (x402). Max 256 KB.
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": {
"content": "<content>"
},
"name": "check_prompt_injection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Where the content came from (optional); used to resolve relative links in HTML | |
| format | No | How to parse content: html (default) also strips hidden elements, comments and styles; use text for plain text such as an email body | |
| content | Yes | The HTML or text to scan (max 256 KB) | |
| return_text | No | Include clean_text and wrapped_text (default true); false returns only the report, which is smaller |