list_labels_on_issue
Retrieve all labels currently applied to a GitHub issue. Provide owner, repository, and issue number to get the full list of labels.
Instructions
List the labels currently applied to a GitHub issue. Docs: https://docs.github.com/en/rest/issues/labels#list-labels-for-an-issue
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>",
"issue_number": "<issue_number>"
},
"name": "list_labels_on_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization login) | |
| per_page | No | ||
| issue_number | Yes | Issue number |