list_merge_requests
List and filter merge requests from a GitLab repository by state, page, and results per page. Specify owner and repo to retrieve relevant merge requests.
Instructions
List and filter repository merge requests
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "list_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| repo | Yes | Project path/name (e.g. 'pro-portal-onboarding-and-retention') | |
| owner | Yes | Project namespace/path (e.g. 'pro/portal/frontends') or numeric Project ID | |
| state | No | State of merge requests (e.g., opened, closed, merged, all) | |
| perPage | No | Results per page |