list_merge_requests
List merge requests for a project with filters for state, author, assignee, labels, and pagination to review open or merged changes.
Instructions
List merge requests for a specific project.
Args: project_id: GitLab project ID state: Filter by state ('opened', 'closed', 'merged', 'all') author_id: Filter by author user ID assignee_id: Filter by assignee user ID labels: Comma-separated label names (e.g., "bug,urgent") page: Page number for pagination (default: 1) per_page: Number of results per page (default: 20, max: 100)
Returns: Formatted string with merge request list including pagination info
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "list_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| state | No | ||
| labels | No | ||
| per_page | No | ||
| author_id | No | ||
| project_id | Yes | ||
| assignee_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |