Create branch
gitlab_create_branchCreate a new branch in a GitLab project from a specified ref, using project ID and branch name, to isolate changes for development or review.
Instructions
Create a new branch in a project.
Args: **kwargs: Additional parameters for the request (e.g., project_id, branch, ref).
Returns: Response: The response object containing a Branch model.
Raises: MissingParameterError: If required parameters are missing. ParameterError: If invalid parameters are provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| page | No | ||
| branch | No | ||
| per_page | No | ||
| max_pages | No | ||
| project_id | No |