Update Default Branch
gitlab_update_default_branchUpdate a GitLab project's default branch to any existing branch. Requires the project ID and branch name.
Instructions
Change a project's default branch to an existing 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": {
"default_branch": "<default_branch>"
},
"name": "gitlab_update_default_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| default_branch | Yes |