close_issue
Close a GitHub issue after a two-step human approval process. The first call proposes the action; the second with confirm=true executes it.
Instructions
Close an issue. DESTRUCTIVE: the first call returns a proposed action for human review and does NOT close anything. Only call again with confirm=true after the human has explicitly approved.
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": {
"owner": "<owner>",
"repo": "<repo>",
"issue_number": "<issue_number>",
"reason": "<reason>"
},
"name": "close_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| reason | Yes | ||
| confirm | No | ||
| issue_number | Yes | ||
| state_reason | No | not_planned |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||