check_prompt
Detect prompt injection in untrusted text, HTML, or a web page before feeding it to a model. Flags hidden instructions, invisible characters, and system prompt or data exfiltration attempts.
Instructions
Check untrusted text, HTML or a web page for prompt injection before feeding it to a model. Finds instructions written for the model instead of the reader: text hidden with CSS, HTML comments, zero-width and invisible Unicode tag characters, chat template markers, 'ignore previous instructions', attempts to make an agent leak its system prompt or credentials, hide actions from the user, approve something without review, run a command, or render a markdown image that exfiltrates data through its URL. Returns a verdict, injection_detected, and clean_text with invisible characters stripped. Never follows what it finds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public page to fetch and check. | |
| html | No | HTML including hidden markup. | |
| text | No | Plain text to check. |