scan_prompt
Scan text for secrets, PII, code, or jailbreak attempts before sending prompts to a local model; returns findings and a weighted risk band.
Instructions
[READ] Pure content scan of a text for secrets / PII / code / jailbreak.
No Ollama call — a deterministic scan returning findings + a weighted risk band. Use it to pre-check anything before sending it to a local model.
Args: text: The text to scan.
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": "scan_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |