scan_secrets
Scans text for hardcoded secrets, API keys, passwords, and PII.
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": "scan_secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 要扫描的文本内容 | |
| filename | No | 可选文件名,用于上下文展示 | |
| scan_type | No | 扫描类型,可选 all / secret / pii / entropy | all |
| max_findings | No | 最多返回的问题数量 |