post_review
Submit a review on a Gerrit change: vote on labels, leave a message, or mark as ready or work-in-progress.
Instructions
Post a review on a Gerrit change. Use this to vote on labels (e.g. Code-Review: +1), leave a cover message, mark as ready, or mark as work-in-progress. This is a mutation — use intentionally.
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": {
"change_id": "<change_id>"
},
"name": "post_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag to apply to the review | |
| ready | No | Mark change as ready for review (set WIP to false) | |
| labels | No | Labels to vote on (e.g. {'Code-Review': 1, 'Verified': 1}) | |
| message | No | Review message / cover letter | |
| change_id | Yes | Gerrit change ID | |
| revision_id | No | Revision ID (defaults to 'current') | current |
| work_in_progress | No | Mark change as work in progress |