update_issue_tool
Update a GitHub issue's title, body, labels, or state. Close or reopen issues by setting state and state_reason.
Instructions
Update a GitHub issue, including closing or reopening it.
Set state="closed" to close an issue. Set state="open" with state_reason="reopened" to reopen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New body (optional) | |
| repo | Yes | Repository name | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| state | No | "open" or "closed" | |
| title | No | New title (optional) | |
| labels | No | Replacement list of label names (optional) | |
| issue_number | Yes | Issue number | |
| state_reason | No | "completed", "not_planned", or "reopened" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||