delete_branch
Delete a specific branch from a Forgejo repository by specifying its owner, repository, and branch name. Removes obsolete branches to maintain a clean repository.
Instructions
Delete a branch.
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>",
"branch": "<branch>"
},
"name": "delete_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes | ||
| branch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||