list_pull_requests
List pull requests in a GitHub repository with filters for state, branch, and sorting to find the PRs you need.
Instructions
List pull requests in a GitHub repository. Docs: https://docs.github.com/en/rest/pulls/pulls#list-pull-requests
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Filter by base branch name | |
| head | No | Filter by head user/org and branch, e.g. "octocat:feature-branch" | |
| page | No | ||
| repo | Yes | Repository name | |
| sort | No | Field to sort results by | |
| owner | Yes | Repository owner (user or organization login) | |
| state | No | Filter by pull request state (defaults to open) | |
| per_page | No | ||
| direction | No | Sort direction |