get_label
Retrieve a specific label from a GitLab project using its ID or title to organize and categorize project items.
Instructions
Get a single label from a 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_id": "<project_id>",
"label_id": "<label_id>"
},
"name": "get_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| label_id | Yes | The ID or title of a project's label | |
| include_ancestor_groups | No | Include ancestor groups |