Get a GitHub issue or pull request
github_issue_getOne GitHub issue or pull request with its body, labels and reactions.
One issue or pull request by number: title, body, state, labels, author, comments count, reactions, dates; for a pull request also pull (merged, merged_at, draft, additions, deletions, changed files, commits, branches).
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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>",
"number": "<number>"
},
"name": "github_issue_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner (user or organisation). | |
| number | Yes | Issue or pull request number. |