pr_review
Runs staged, keyless pull request reviews from local git diffs, guiding hosts through prepare, validate or repair, and final steps with schema and coverage checks.
Instructions
Run staged keyless PR review. Host must chain prepare -> validate/repair using nextAction.callTemplate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pr_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Prepare stage: working directory. Defaults to process.cwd(). Most IDEs inject this automatically. | |
| model | No | Validate stage: optional host model identifier used for draft generation. | |
| branch | No | Prepare stage: branch to review. Must be specified explicitly. | |
| format | No | Requested final output format when validation reaches final stage. | |
| sessionId | No | Validate stage: session ID returned by prepare/repair. Required together with draftReport. | |
| draftReport | No | Validate stage: draft JSON report from host model (object or JSON string). Required together with sessionId. | |
| reviewInstructions | No | Prepare stage: trusted reviewer focus to include in prompt assembly (max 2000 chars). |