Revise a contribution
revise_contributionSubmit a revised contribution draft when an item is in review or reviewers request changes; this updates the GitHub issue and invalidates earlier approvals.
Instructions
Send a revised version of your contribution while it is in review or after the reviewers asked for changes. First prepare the revision with prepare_contribution (the same kind), show the person the preview and get their explicit agreement; then call this with the contribution's id and the new draft_id. It updates the GitHub issue; approvals of earlier versions no longer count.
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": {
"id": "<id>",
"draft_id": "<draft_id>"
},
"name": "revise_contribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contribution: its id, such as C-0007, or its GitHub issue number, such as #7 | |
| draft_id | Yes | The draft_id that prepare_contribution returned in this conversation |