Update a GitHub issue or pull request
gh_issue_updateComment on an issue or pull request, close or reopen it (state), change its title or body, set labels (replaces them), add_labels, or assignees. A new title, body or labels replace the old ones, and GitHub keeps no undo, so read the issue first (gh_issues) and say what will be replaced.
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": {
"repo": "<repo>",
"number": "<number>"
},
"name": "gh_issue_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| repo | Yes | owner/name, like shopwhizzy/client-shop (or a GitHub address). | |
| state | No | ||
| title | No | ||
| labels | No | ||
| number | Yes | ||
| comment | No | ||
| assignees | No | ||
| add_labels | No |