Publish a review to GitHub
publish_reviewPublishes a completed local review to its GitHub pull request, attaching the verdict and every inline comment to the correct file and line. Use it after finishing a mode=pr review.
Instructions
Publishes a review that was written locally back to its GitHub pull request as a real PR review: the verdict (Approver / Request changes / Comment) plus every inline comment, attached to its file and line. Use it after the user finishes a review of mode=pr. Needs gh to be installed and authenticated.
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": "publish_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reviewId | Yes | Identifier returned by start_review for a mode=pr review. | |
| reviewBody | No | Overall review text. Defaults to the one saved with the review. | |
| reviewState | No | Verdict to publish. Defaults to the verdict the user chose on the page. |