Reopen a GitHub issue
github_issue_reopenReopen a closed GitHub issue and optionally post a comment to notify followers; if it is already open, leave it unchanged with no comment posted.
Instructions
Reopen a closed issue; the comment, if any, is posted as it reopens, and the people following the issue are notified. An issue that is open already is left as it is: nothing is sent, the comment is not posted and changed is false. An issue is 12, #12, owner/repo#12 or its URL; a bare number means the working tree's repository, or repo.
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": {
"issue": "<issue>"
},
"name": "github_issue_reopen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name; defaults to the working tree's repository (its origin). Used for a bare number. | |
| issue | Yes | The issue, as 12, #12, owner/repo#12 or its URL. | |
| comment | No | A comment to post as the issue reopens. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| issue | Yes | ||
| changed | Yes | False when the issue was open already and nothing was sent. | |
| foreign | Yes |