GitHub Get Issue Or Pull Request
GitHubGetIssueTool · Tools · Connections
Get one issue or pull request by number, with its body and attachments. Read-only. Issues and pull requests share one number space; github_get_pull_request adds a pull request's branches and merge state. Open a listed file with github_view_issue_attachment. A long body arrives in windows: when text_window.next_offset is not null, call again with text_offset set to it.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
issue_number | integer | Yes | Issue or pull request number. |
owner | string | No | Repository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories. |
repo | string | Yes | Repository name, without the owner. |
text_offset | integer | No | Where to start reading the full text, in Unicode characters. Pass the previous result's `text_window.next_offset` to continue. |