List GitLab project labels
list_project_labelsRetrieve labels from a GitLab project to categorize issues and merge requests. Supports filtering by search, pagination, and including ancestor group labels.
Instructions
List labels available in a GitLab 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": "<project>"
},
"name": "list_project_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| per_page | No | ||
| include_ancestor_groups | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |