Contents

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

NameTypeRequiredDescription
limitintegerNoMost items to return: 1-100, default 20. A result may hold fewer to stay within its size budget; continue from `next_offset`.
offsetintegerNoItems to skip, counted after any filter. Pass the previous result's `next_offset` to continue.
ownerstringNoRepository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories.
repostringYesRepository name, without the owner.
stateanyNoopen (default), closed, or all.
typeanyNoall (default), issue, or pull_request. GitHub lists both together; this narrows before the offset applies.