create_branch
Create a new branch in a GitLab project by specifying the project, branch name, and source reference to organize development work.
Instructions
Create a new branch in a GitLab project
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": {
"project_id": "<project_id>",
"branch": "<branch>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| branch | Yes | Name for the new branch | |
| ref | No | Source branch/commit for new branch |