GitHub List Issues And Pull Requests
GitHubListIssuesTool · Tools · Connections
List issues and pull requests in a repository. Read-only. GitHub lists both together and numbers them in one sequence; an item that is a pull request carries a pull_request key, and type narrows to one kind before the offset applies. Returns GitHub's items with count, limit, offset, has_more, and next_offset. Long strings in a list are cut; fetch an item by number for its full text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Most items to return: 1-100, default 20. A result may hold fewer to stay within its size budget; continue from `next_offset`. |
offset | integer | No | Items to skip, counted after any filter. Pass the previous result's `next_offset` to continue. |
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. |
state | any | No | open (default), closed, or all. |
type | any | No | all (default), issue, or pull_request. GitHub lists both together; this narrows before the offset applies. |