gitlab_branches_list
List a project's branches to confirm the source branch exists and find the target branch before creating a merge request.
Instructions
List a project's branches. Useful before gitlab_mr_create to confirm the source branch exists and to find the target branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number; see pagination.nextPage in the result | |
| search | No | substring search | |
| perPage | No | items per page, max 100 (GitLab default is 20) | |
| project | Yes | project id ('42') or full path ('group/subgroup/app'); a path is URL-encoded for you |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| pagination | Yes |