List branches
gitlab_list_branchesList branches of a GitLab project. Supports pagination, search, and configurable per-page limits to fetch branch names efficiently.
Instructions
Branches of a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| limit | No | Cap for all_pages (default 500) | |
| search | No | ||
| per_page | No | Items per page, max 100 (default 20) | |
| all_pages | No | Follow pagination and return up to `limit` items across pages | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. |