github_pulls_list
List and filter GitHub pull requests by state, base branch, or head to monitor review progress and support product decisions.
Instructions
List pull requests. Filter by state, by base branch, or by head in the form 'user:branch'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Filter pulls by base branch name. Example: `gh-pages`. | |
| head | No | Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. | |
| page | No | The page number of the results to fetch. Defaults to 1. | |
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| sort | No | What to sort results by. Defaults to `created`. | created |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| state | No | Either `open`, `closed`, or `all` to filter by state. Defaults to `open`. | open |
| perPage | No | The number of results per page (max 100). Defaults to 30. | |
| direction | No | The direction of the sort. Default: `desc` when sort is `created` or not specified, otherwise `asc`. |