close_issue
Resolve a GitHub issue by closing it, with an optional comment to explain the closure.
Instructions
Close a GitHub issue, optionally posting a comment.
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>",
"issue_number": "<issue_number>"
},
"name": "close_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repo in owner/repo format | |
| comment | No | Comment to post when closing (optional) | |
| issue_number | Yes | Issue number to close |