publish_drafts
Publish all pending draft comments on a change as a single review, so they become visible to other reviewers.
Instructions
Publishes all pending draft comments on a CL as a single review. This is equivalent to clicking "Send" in the Gerrit web UI — all draft comments become visible to other reviewers in one batch.
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": "publish_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | No | ||
| message | No | ||
| change_id | Yes | ||
| gerrit_base_url | No |