Contents

GitHub List Pull Request Commits

GitHubListPullRequestCommitsTool · Tools · Connections

List a pull request's commits, oldest first, as GitHub returns them. Read-only. GitHub lists at most 250 commits. Returns commits with count, limit, offset, has_more, and next_offset.

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.
pull_numberintegerYesPull request number.
repostringYesRepository name, without the owner.