List labels
list_labelsRetrieve all labels in a repository, including their IDs, so you can assign the correct labels to issues.
Instructions
List labels of a repository (returns the IDs needed to label issues).
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| repo | Yes | Repository name | |
| limit | No | Results per page (default 30, max 100) | |
| owner | Yes | Repository owner (user or organization) |