gitlab_list_merge_requests
Retrieve merge requests from a GitLab project based on scope and state. Use this to filter requests by creation, assignment, or status (opened, closed, locked, merged).
Instructions
List merge requests in a GitLab 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": "gitlab_list_merge_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID or URL-encoded path of the project | |
| scope | No | Return merge requests for the specified scope (created_by_me, assigned_to_me, all) | |
| state | No | Return merge requests with specified state (opened, closed, locked, merged) |