Getprojectsprojectidlabels
getProjectsProjectIdLabelsList labels defined in a Gerrit project, optionally including inherited labels or those voteable on a ref. Use this to inspect label configuration for review setup.
Instructions
Lists the labels that are defined in this 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>"
},
"name": "getProjectsProjectIdLabels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inherited | No | ||
| project-id | Yes | ||
| voteable-on-ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |