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
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) |
Input Schema (JSON Schema)
{
"properties": {
"project_id": {
"description": "The ID or URL-encoded path of the project",
"type": "string"
},
"scope": {
"description": "Return merge requests for the specified scope (created_by_me, assigned_to_me, all)",
"enum": [
"created_by_me",
"assigned_to_me",
"all"
],
"type": "string"
},
"state": {
"description": "Return merge requests with specified state (opened, closed, locked, merged)",
"enum": [
"opened",
"closed",
"locked",
"merged"
],
"type": "string"
}
},
"required": [
"project_id"
],
"type": "object"
}