Gitea: Create branch
gitea_create_branchCreate a new branch in a Gitea repository from an existing branch or commit to isolate development work and manage features separately.
Instructions
[UNIFIED] Create a new branch in a Gitea repository from existing branch or commit.
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>",
"new_branch_name": "<new_branch_name>"
},
"name": "gitea_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| site | Yes | ||
| owner | Yes | ||
| old_ref_name | No | ||
| new_branch_name | Yes | ||
| old_branch_name | No |