gh_issue_edit
Update a GitHub issue by changing its title, assignee, labels, or open/closed state. Specify the repository and issue number to apply targeted edits and keep issue tracking accurate.
Instructions
Edit a GitHub issue — change assignee, labels, title, or state.
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": {
"number": "<number>",
"repo": "<repo>"
},
"name": "gh_issue_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/repo — required; a write never infers its target | |
| state | No | open or closed | |
| title | No | New title | |
| number | Yes | Issue number | |
| assignee | No | Set assignee | |
| add_labels | No | Comma-separated labels to add | |
| remove_labels | No | Comma-separated labels to remove |