list_branches
List all branches of a GitLab project, optionally filtered by name or regex, with pagination support.
Instructions
List branches for a GitLab project
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": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed) | |
| regex | No | Filter branches by regex | |
| search | No | Search branches by name | |
| per_page | No | Results per page (1-100) | |
| project_id | No | Project ID or URL-encoded path |