list_merge_requests
Retrieve a list of merge requests from a GitLab project with options to filter by state, sort order, and pagination.
Instructions
List merge requests for a GitLab repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID or path (e.g., 'username/repo-name') | |
| state | No | State of merge requests (opened, closed, merged, all) | all |
| per_page | No | Number of merge requests to return (max 100) | |
| order_by | No | Order by field (created_at, updated_at, title) | created_at |
| sort | No | Sort order (asc, desc) | desc |