search GitHub issues
gh_issue_searchSearch issues in a single GitHub repository by query and state, returning newest activity first with issue number, title, labels, updated date, URL, and body excerpt. Read-only.
Instructions
Search issues in one repository with GitHub's search API, newest activity first. Read-only. Returns issue number, title, labels, updated date, url and a body excerpt. Requires GITHUB_TOKEN for anything beyond 60 requests/hour.
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": "gh_issue_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository as owner/name, e.g. emcie-co/parlant | |
| limit | No | Maximum issues to return | |
| query | No | Search terms, e.g. 'timeout' or 'label:bug sse' | |
| state | No | Issue state filter | open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository as owner/name | |
| query | Yes | Search terms as sent, after defaulting | |
| state | Yes | ||
| issues | Yes | ||
| totalCount | Yes | Matches GitHub reported, which can exceed the returned issues |