veto_code_review
Review a code snippet or file for complexity, error handling, magic numbers, nesting, and dead code with scored findings and fixes. Optionally pass file_path for VS Code inline diagnostics.
Instructions
Runs the Code Reviewer agent on a single snippet or file you pass directly. Returns scored findings (complexity, error handling, magic numbers, nesting, dead code) with severity and fixes. Pass file_path to surface findings as VS Code inline diagnostics (squiggles). For reviewing changed files across a git diff, use veto_diff_review instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to review. | |
| context | No | Optional: file name, module description, or review focus. | |
| file_path | No | Optional: absolute path to the file being reviewed. 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. |