Accept, deny, or ignore one story's change
review_diffRecord a review on a single diff result (get diffResultId from get_build/get_diff). 'accept' makes the candidate the new baseline for that story on its branch, so the next build is clean; 'deny' records the rejection without changing the baseline; 'ignore' excludes the story from the gate persistently (the snapshot keeps differing on future builds but no longer flags the check) — use it for an intentional, ongoing diff like an animation or a live timestamp. This is the same accept/deny/ignore as the dashboard, attributed to the agent (and to you, when you logged in). Use after you've inspected the diff (e.g. with render_diff_image) and decided intended vs. regression. accept and ignore are refused while the story has an unresolved review comment, including one left on an earlier build of the branch (read it with list_comments, address it, resolve_comment the thread, then retry); deny is allowed despite open comments. Every decision, deny included, is refused with nothing recorded on a build a newer build on its branch has superseded (inspect the newer build the error names) or on a build that has to be rebuilt against its PR's base; accept and ignore are also refused when the build's branch has several open PRs and the review can't tell which one it is for; the error names the next step.
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": {
"diffResultId": "<diffResultId>",
"decision": "<decision>"
},
"name": "review_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | 'accept' advances the baseline; 'deny' records a rejection; 'ignore' excludes the story from the gate. | |
| diffResultId | Yes | The diff result id from get_build or get_diff. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | ||
| diffResultId | Yes | ||
| openReviewComments | No | Present when open review comments are waiting on some branch of this project; read yours with list_comments. |