veto_secrets_scan
Scan text or code for exposed secrets like API keys, tokens, and passwords. Get masked findings with line numbers, plus optional VS Code inline diagnostics.
Instructions
Scans text or code for exposed credentials — API keys, tokens, passwords, connection strings, private keys. Returns findings with masked values and line numbers. Pass file_path to surface findings as VS Code inline diagnostics.
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": "veto_secrets_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text or code to scan for secrets. | |
| file_path | No | Optional: absolute path to the file being scanned. When provided, findings are stored as VS Code inline diagnostics. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |