prompt_injection_scanner__scan_file
Detects indirect prompt injection payloads in a single file, including knowledge-base documents, HTML pages, and extracted text, to help block malicious instructions before processing.
Instructions
Scan a single file (a knowledge-base document, an HTML page, extracted text) for indirect prompt injection payloads
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": {
"path": "<path>"
},
"name": "prompt_injection_scanner__scan_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the file to scan |