Gitea: Delete branch
gitea_delete_branchDelete a branch from a Gitea repository by specifying the site, owner, repository, and branch; default branches cannot be deleted.
Instructions
[UNIFIED] Delete a branch from a Gitea repository. Cannot delete default 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": {
"site": "<site>",
"owner": "<owner>",
"repo": "<repo>",
"branch": "<branch>"
},
"name": "gitea_delete_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| site | Yes | ||
| owner | Yes | ||
| branch | Yes |