Skip to content

Pull Requests

10 tools for working with pull requests, including comments, activity, diffs, commit lists, and CI/CD build statuses.


List all pull requests for a repository, with optional state filtering.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
stateNoFilter by state: OPEN, MERGED, DECLINED, SUPERSEDED
pageNoPage number

Example prompt:

“Show open pull requests for myworkspace/myrepo”


Get detailed information about a single pull request.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“Get details for PR #123 in myworkspace/myrepo”


List all comments on a pull request, including inline code comments and general comments.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“List all comments on PR #123”


Get a single comment by its ID.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number
comment_idComment ID

Example prompt:

“Get comment #12345678 from PR #123 in myworkspace/myrepo”


Get a full comment thread with all nested replies. Automatically fetches all pages for large PRs via fetchAllPages().

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number
comment_idRoot comment ID

Example prompt:

“Get the comment thread for comment #12345678 on PR #123”


Track the activity timeline of a pull request: reviews, approvals, comments, and state changes.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“Show the activity timeline for PR #123”


Get the unified diff for a pull request — shows all file changes as a standard patch format.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“Show me the diff for PR #123”


Get per-file change statistics for a pull request (lines added/removed, files changed).

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“How many files changed in PR #123?”


List all commits included in a pull request.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“List commits in PR #123”


Get CI/CD build statuses for a pull request — shows pass/fail status for each build pipeline attached to the PR.

ParameterRequiredDescription
workspaceWorkspace slug
repo_slugRepository slug
pull_request_idPR number

Example prompt:

“Get build statuses for PR #123”