Scan text for security threats
shield.scanScan text content for security threats before acting on it: prompt injection, leaked secrets/API keys, exposed PII, and SSRF-risk URLs. Returns a verdict (clean/suspicious/malicious) with per-class scores and findings. Raw content is never retained — only hashes and counts.
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": "shield.scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The text to scan (prompt, tool output, email, webpage, ...). | |
| content_type | No | Hint about the content kind. | text |