project_set_issue_state
Close or reopen a GitHub issue by specifying the repository, issue number, and target state. Optionally provide a close reason when closing.
Instructions
Close or reopen an issue
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>",
"issueNumber": "<issueNumber>",
"state": "<state>"
},
"name": "project_set_issue_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository in 'owner/repo' format | |
| issueNumber | Yes | Issue number | |
| state | Yes | Target state | |
| reason | No | Close reason (only for state='closed') |