Tools · Services

gitlab

Changes things

Search GitLab issues, manage merge requests, read files, and control CI pipelines.

When to use: Use this for GitLab issue search, merge request management, file retrieval, and CI pipeline operations.

Example

The call

tool call
{
  "tool": "gitlab",
  "arguments": {
    "action": "search_issues",
    "query": "export timeout"
  }
}

Needs a GitLab token (GITLAB_TOKEN)

So it isn't run here, and no output is shown: nothing on this page is made up.

Parameters

NameTypeDescription
action*string—search_issuesget_issuecreate_issueclose_issuecomment_issuelist_merge_requestsget_merge_requestcreate_merge_requestmerge_merge_requestapprove_merge_requestcomment_merge_requestget_file
querystring—
project_idstringNumeric project id or URL path like 'myorg/myrepo'.
iidintegerIn-project issue number (not the global GitLab id).
mr_iidintegerIn-project merge request number.
pipeline_idinteger—
titlestring—
description_textstring—
labelsstringComma-separated label names.
assignee_idsarray—
bodystring—
statestring—openedclosedmergedall
source_branchstring—
target_branchstring—
pathstring—
refstring—
per_pageinteger—
pageinteger—

* required

Work in GitHub, Slack, Jira, Linear, Notion, Google, Stripe and more.