list_project_branches
Retrieve and search through branches within a GitLab project to view available development lines and manage code versions effectively.
Instructions
List branches in a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
per_page | No | Number of results per page (max 100) | |
project_id | Yes | Project ID or path | |
search | No | Search branches by name |
Input Schema (JSON Schema)
{
"properties": {
"per_page": {
"default": 20,
"description": "Number of results per page (max 100)",
"maximum": 100,
"type": "number"
},
"project_id": {
"description": "Project ID or path",
"type": "string"
},
"search": {
"description": "Search branches by name",
"type": "string"
}
},
"required": [
"project_id"
],
"type": "object"
}