gitlab_list_merge_requests
Fetches open, closed, merged, or locked merge requests for a GitLab project, with optional search, pagination, and branch filters.
Instructions
Lists merge requests (GET /projects/:id/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": {
"projectId": "<projectId>"
},
"name": "gitlab_list_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| state | No | ||
| search | No | ||
| perPage | No | ||
| projectId | Yes | Numeric ID or path with namespace, e.g. group/project. | |
| sourceBranch | No | ||
| targetBranch | No |