github_delete
Delete a branch or a ref.
Requires the org's agent-writes switch. Deleting follows the org's review settings for destructive actions (a person's approval by default). The bound repository cannot be deleted.
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": {
"target": "<target>"
},
"name": "github_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Branch name or git ref | |
| github | No | owner/repo. Omit to use the run's bound github= | |
| target | Yes | branch or ref. The bound repository cannot be deleted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||