gitlab_labels_list
List a project's labels before setting them to avoid creating unknown labels silently or getting rejected based on account permissions.
Instructions
List a project's labels. Check here before setting labels: 11.3 creates an unknown label silently when the account may, and rejects it when the account may not.
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": "gitlab_labels_list"
}
}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 |