list_pull_requests
List pull requests in a repository with filters for state, direction, order, and author. Paginate results and select fields using dot notation.
Instructions
List pull requests in a repository. Supports filtering by state, direction, order, and client-side author filtering. Supports custom field selection via the fields param ('*all' for full raw response, 'id,title,state' for a custom subset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 25, max: 100). | |
| order | No | Sort order. | |
| start | No | Start index for pagination (default: 0). | |
| state | No | Filter by state (default: OPEN). | |
| author | No | Client-side filter by author username/displayName. Only filters the current page of results. Use with start/limit to paginate for more matches. | |
| fields | No | Comma-separated fields to return (dot notation for nested paths). Omit for a curated default; use '*all' for the full raw API response. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| direction | No | PR direction filter. | |
| repository | Yes | Repository slug. |