Read current review requests with list_review_requests
Check which reviewers and teams currently have an outstanding review request on a pull request.
Prerequisites
Section titled “Prerequisites”github-pull-requestsinstalled.- Read access to the target repository and pull request.
-
Call
list_review_requests:{ "owner": "your-org", "repo": "your-repo", "pullNumber": 12 } -
Read the response:
{ users: string[], teams: string[] }.
Verify it worked
Section titled “Verify it worked”An empty { users: [], teams: [] } means no reviewers are currently
requested (either none were ever requested, or all have already submitted a
review — GitHub clears a request once that reviewer responds). A non-empty
list means those reviewers/teams still have an open request.
- This is a read-only call; it does not require write access to the repository, only read access.
- Use this before calling
remove_review_requestto confirm exactly who is currently requested, since removing a reviewer who was never requested is a silent no-op rather than an error.