GitHub labels
github_labelsLists a GitHub repository's labels with name, color, and description, returning paginated results and optional fields so agents can inspect repository categorization.
Instructions
List repository labels with their name, color, and description. GitHub's labels endpoint does not supply issue counts, so open_issues_count and closed_issues_count stay null even with with_counts true; no extra call is made. Returns {repo, items[{name, color, description, open_issues_count, closed_issues_count}], page, per_page, has_more, next_page, meta}.
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": {
"repo": "<repo>"
},
"name": "github_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| repo | Yes | Repository in owner/name form | |
| fresh | No | Bypass the local cache | |
| per_page | No | Items per page, 1-100, default 30 | |
| with_counts | No | GitHub's labels endpoint does not supply issue counts, so both counts stay null; no extra calls |