list_labels
List all labels in a GitHub repository. Provide the owner and repository name to retrieve a paginated set for organizing issues and pull requests.
Instructions
List all labels defined in a GitHub repository. Docs: https://docs.github.com/en/rest/issues/labels#list-labels-for-a-repository
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 | ||
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization login) | |
| per_page | No |