list_project_branches
List branches in a GitLab project by providing the project ID or path. Filter branches by name and set results per page.
Instructions
List branches in a 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>"
},
"name": "list_project_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search branches by name | |
| per_page | No | Number of results per page (max 100) | |
| project_id | Yes | Project ID or path |