list_merge_requests
Retrieve merge requests for a GitLab project using filters like assignee, author, labels, state, and branches. Supports sorting by creation or update time and manages pagination for efficient results.
Instructions
Get merge requests for a GitLab project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assignee_id | No | ||
author_id | No | ||
created_after | No | ||
created_before | No | ||
labels | No | ||
milestone | No | ||
order_by | No | ||
page | No | ||
per_page | No | ||
project_id | No | ||
scope | No | ||
search | No | ||
sort | No | ||
source_branch | No | ||
state | No | ||
target_branch | No | ||
updated_after | No | ||
updated_before | No | ||
wip | No |
Input Schema (JSON Schema)
{
"properties": {
"assignee_id": {
"type": "number"
},
"author_id": {
"type": "number"
},
"created_after": {
"type": "string"
},
"created_before": {
"type": "string"
},
"labels": {
"type": "string"
},
"milestone": {
"type": "string"
},
"order_by": {
"enum": [
"created_at",
"updated_at"
],
"type": "string"
},
"page": {
"type": "number"
},
"per_page": {
"type": "number"
},
"project_id": {
"type": "string"
},
"scope": {
"enum": [
"created_by_me",
"assigned_to_me",
"all"
],
"type": "string"
},
"search": {
"type": "string"
},
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"source_branch": {
"type": "string"
},
"state": {
"enum": [
"opened",
"closed",
"locked",
"merged",
"all"
],
"type": "string"
},
"target_branch": {
"type": "string"
},
"updated_after": {
"type": "string"
},
"updated_before": {
"type": "string"
},
"wip": {
"enum": [
"yes",
"no"
],
"type": "string"
}
},
"type": "object"
}