github_close
Close an issue or pull request.
Requires the org's agent-writes switch. Closing follows the org's review settings for destructive actions (a person's approval by default).
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": {
"number": "<number>",
"kind": "<kind>"
},
"name": "github_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | issue or pull | |
| github | No | owner/repo. Omit to use the run's bound github= | |
| number | Yes | Issue or pull request number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||