Gitea: Get branch
gitea_get_branchRetrieve details for a specific branch, including its latest commit and protection settings, to verify branch state and review repository protection rules.
Instructions
[UNIFIED] Get details of a specific branch including latest commit and protection settings.
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_get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| site | Yes | ||
| owner | Yes | ||
| branch | Yes |