Check several texts for prompt injection
check_textsChecks batches of untrusted texts for prompt injections before an agent acts on them, returning one result per text and the number flagged.
Instructions
Check a batch of untrusted texts (for example every email in an inbox or every search result) for prompt injections. Returns one result per text, in the same order, plus how many were flagged.
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": {
"texts": "<texts>"
},
"name": "check_texts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | Texts to check. | |
| threshold | No | Decision threshold for INJECTION (0.5 default; 0.99 is stricter, fewer false alarms). |