githubSearchIssues
Search GitHub issues by keywords, state, labels, or repository to find bug reports, feature requests, and discussions. Filter by author, assignee, or interaction metrics for precise issue tracking and analysis.
Instructions
Search GitHub issues for bug reports, feature requests, and discussions. Find issues by keywords, state, labels, author, or repository. Returns issue details including body content for effective issue tracking and analysis.
TOKEN OPTIMIZATION
- Issue body content is expensive in tokens. Use only when necessary.
- Use specific queries and filters to reduce result count
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app | No | GitHub App that created the issue | |
archived | No | Include archived repositories | |
assignee | No | GitHub username of assignee | |
author | No | GitHub username of issue creator | |
closed | No | When closed. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range) | |
commenter | No | User who commented on issue | |
comments | No | Comment count filter. Format: ">10" (many comments), ">=5" (at least 5), "<5" (few comments), "5..10" (range), "10" (exact) | |
created | No | When created. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range) | |
include-prs | No | Include pull requests. Default: false | |
interactions | No | Total interactions (reactions + comments) filter. Format: ">100" (highly engaged), ">=50" (moderately engaged), "<20" (low engagement), "50..200" (range) | |
involves | No | User involved in any way | |
label | No | Label names. Can be single string or array. | |
language | No | Repository language | |
limit | No | Results limit (1-50). Default: 25 | |
locked | No | Conversation locked status | |
match | No | Search scope. Default: title and body. WARNING: "body" and "comments" are EXTREMELY expensive in tokens as they include full issue content and all comments. | |
mentions | No | Issues mentioning this user | |
milestone | No | Milestone name | |
no-assignee | No | Issues without assignee | |
no-label | No | Issues without labels | |
no-milestone | No | Issues without milestone | |
no-project | No | Issues not in projects | |
order | No | Sort order. Default: desc | desc |
owner | No | Repository owner/organization name only (e.g., "facebook", "microsoft"). Do NOT include repository name. Must be used with repo parameter for repository-specific searches. | |
project | No | Project board number | |
query | Yes | Search terms. Start simple: "error", "crash". Use quotes for exact phrases. | |
reactions | No | Reaction count filter. Format: ">10" (popular), ">=5" (some reactions), "<50" (moderate), "5..50" (range), "10" (exact) | |
repo | No | Repository name only (e.g., "react", "vscode"). Do NOT include owner prefix. Must be used together with owner parameter. | |
sort | No | Sort by activity or reactions. Default: best match | |
state | No | Issue state. Default: all | |
team-mentions | No | Team mentioned in issue (@org/team-name) | |
updated | No | When updated. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range) | |
visibility | No | Repository visibility |