scan_file
Scan a file for vulnerabilities and obtain structured candidate records with grounding anchors such as file hash and line count, enabling targeted security analysis.
Instructions
Scan a single file for vulnerabilities and return structured candidate records with grounding anchors (file hash + line count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file | |
| priority | No | Minimum priority to report | |
| projectRoot | No | Optional project root for path confinement | |
| outputFormat | No | Output format (default: json) | |
| minConfidence | No | Minimum confidence |