veto_pr_review
Fetch a GitHub PR diff and run a triple-scan for code review, security, and secrets, returning a structured verdict and ready-to-post review comments.
Instructions
Fetches a GitHub PR diff and runs the full Veto triple-scan (code review + security + secrets). Returns a structured verdict and ready-to-post GitHub review comments. Set GITHUB_TOKEN env var for private repos.
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": {
"pr_url": "<pr_url>"
},
"name": "veto_pr_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url | Yes | Full GitHub PR URL. e.g. https://github.com/owner/repo/pull/123 | |
| context | No | Optional: PR description or ticket number for extra context. | |
| fail_on | No | Whether WARN counts as a failure. Default: "fail". | |
| agent_outputs | No | Phase 2 responses from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |