list_pull_requests
Retrieve pull requests from GitHub or GitLab repositories with filters for state, branches, labels, and search terms to manage code review workflows.
Instructions
List pull requests (merge requests in GitLab) with optional filters
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo") | |
| state | No | Filter by state | |
| source_branch | No | Filter by source branch | |
| target_branch | No | Filter by target branch | |
| labels | No | Filter by labels | |
| search | No | Search in title and description | |
| sort | No | Sort field | |
| direction | No | Sort direction | |
| page | No | Page number (default: 1) | |
| per_page | No | Items per page (default: 20, max: 100) |