List GitLab merge requests
list_merge_requestsList or search merge requests in a GitLab project with filters for state, labels, authors, assignees, and branches to triage and review code changes.
Instructions
List or search merge requests in one GitLab project with common review and triage filters.
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": "<project>"
},
"name": "list_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| draft | No | ||
| scope | No | ||
| state | No | ||
| labels | No | ||
| search | No | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| order_by | No | ||
| per_page | No | ||
| source_branch | No | ||
| target_branch | No | ||
| updated_after | No | ||
| updated_before | No | ||
| author_username | No | ||
| assignee_username | No | ||
| reviewer_username | No | ||
| approved_by_usernames | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |