Scan files or directory
scan_pathDetect hardcoded secrets in a directory or single file on disk without requiring a Git repository, returning redacted findings.
Instructions
Scan a directory or single file on disk for secrets, without needing git.
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": "scan_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a file or directory. | |
| max_findings | No | Maximum findings to return (the total count is always reported). |