list_merge_requests
List and filter merge requests in a GitLab project by state, scope, author, assignee, reviewer, and branches.
Instructions
List merge requests in a project
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 |
|---|---|---|---|
| scope | No | Return merge requests with the given scope (optional) | |
| state | No | Filter by merge request state | opened |
| search | No | Search merge requests by title and description | |
| per_page | No | Number of results per page (max 100) | |
| author_id | No | Filter by author user ID | |
| project_id | Yes | Project ID or path | |
| assignee_id | No | Filter by assignee user ID | |
| reviewer_id | No | Filter by reviewer user ID | |
| source_branch | No | Filter by source branch | |
| target_branch | No | Filter by target branch | |
| reviewer_username | No | Filter by reviewer username |