GitHub issues
github_issuesList repository issues with filters for state, labels, sort order, and pagination; set the item type to include pull requests.
Instructions
List issues in a repository with state, label, sort, and direction filters. Defaults to issues only; set type to "all" to include pull requests or "pr" for pull requests alone. For aggregate counts over a time window, use github_repo_health instead of paging.
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_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| repo | Yes | Repository in owner/name form | |
| sort | No | Sort field | |
| type | No | Item kind, default issue | |
| fresh | No | Bypass the local cache | |
| state | No | Issue state, default open | |
| labels | No | Comma-separated label names | |
| per_page | No | Items per page, default 20 | |
| direction | No | Sort direction |