plan_fixes
Builds a read-only fix plan for a review run, showing before → after, risk level and fix type per finding, then waits for the user to choose which items to apply.
Instructions
Fix plan for a review run — read-only. For each item: "before → after", risk (safe, behavior, breaking, destructive) and kind: patch (value from the server), proposal (value from the model — pass it in proposals, the server checks it with the same rule), multi_step (steps done with tools one at a time) and manual (the user decides). Show the plan to the user and wait for an answer: numbers, "all", "all except …" or "none". apply_fixes — only in the next response, after the user's words.
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": {
"reviewId": "<reviewId>"
},
"name": "plan_fixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findings | No | Finding ids (f1…); defaults to all that have a patch | |
| reviewId | Yes | reviewId from review_version | |
| proposals | No | Model values for proposal items: [{findingId, body}] — body has the same shape as the finding's patch.body, with values filled in |