GitHub issue and pull request search
github_search_issuesSearches GitHub issues and pull requests using search syntax to find items by repo, state, or label, returning paginated results with counts and links.
Instructions
Search issues and pull requests with GitHub search syntax, such as is:issue, is:pr, state:open, or repo:owner/name; the repo:, path:, state:, and label: qualifiers are parsed from query. A repo: query reads the repository issues endpoint with total_count null and repo_scoped true, filtering pull requests into filtered_count; sort: reactions is unsupported on that path. Free text and other qualifiers are rejected for repo: queries. For per-repository aggregate counts, use github_repo_health. Returns {total_count, incomplete_results, items[{repo, number, title, state, type, author, created_at, updated_at, html_url}], page, per_page, has_more, next_page, repo_scoped, filtered_count}.
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": {
"query": "<query>"
},
"name": "github_search_issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| sort | No | Sort field: comments, reactions, created, or updated | |
| fresh | No | Bypass the local cache | |
| order | No | Sort order: asc or desc | |
| query | Yes | GitHub issue search query | |
| per_page | No | Items per page, 1-100, default 20 |