Scan a text snippet
scan_textScans text snippets, configs, or diffs for hardcoded secrets and returns redacted findings so you can check content before writing or sharing it.
Instructions
Scan a string (e.g. a snippet, config or diff you are about to write or share) for secrets.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to scan. | |
| max_findings | No | Maximum findings to return (the total count is always reported). |