veto_secrets_scan
Scans text or code for exposed secrets like API keys and passwords, returning findings with masked values and line numbers. Provide file path to surface inline diagnostics in VS Code.
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.
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. |