gitlab-mcp
v1.7.0A MCP server for GitLab
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health_check Health Check
Return server liveness, name, and version. Set check_gitlab=true to also verify that GitLab is reachable, that the configured credential authenticates, and which GitLab version answers.
| Parameter | Type | Description |
|---|---|---|
check_gitlab | boolean | null |
gitlab_discover_tools Discover GitLab Tools
Search the complete tool registry without mutating session state. Results explain whether each tool is currently enabled.
| Parameter | Type | Description |
|---|---|---|
capability | string | |
include_disabled | boolean | |
limit | integer | |
query | string | null | |
toolset | string |
gitlab_get_project Get Project
Get project details by ID or path.
| Parameter | Type | Description |
|---|---|---|
project_id |
gitlab_list_projects List Projects
List projects available to the current user.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | null | |
membership | boolean | null | |
min_access_level | number | null | |
order_by | string | |
owned | boolean | null | |
page | number | null | |
per_page | number | null | |
search | string | null | |
search_namespaces | boolean | null | |
simple | boolean | null | |
sort | string | |
topic | string | null | |
visibility | string | |
with_issues_enabled | boolean | null | |
with_merge_requests_enabled | boolean | null |
gitlab_update_project Update Project
Update an allowlisted set of project metadata, merge defaults, and feature access levels.
| Parameter | Type | Description |
|---|---|---|
builds_access_level | string | |
container_registry_access_level | string | |
description | string | null | |
environments_access_level | string | |
forking_access_level | string | |
issues_access_level | string | |
merge_method | string | |
merge_requests_access_level | string | |
name | ||
only_allow_merge_if_all_discussions_are_resolved | boolean | null | |
only_allow_merge_if_pipeline_succeeds | boolean | null | |
package_registry_access_level | string | |
pages_access_level | string | |
project_id | ||
remove_source_branch_after_merge | boolean | null | |
request_access_enabled | boolean | null | |
snippets_access_level | string | |
squash_option | string | |
topics | ||
visibility | string | |
wiki_access_level | string |
gitlab_create_repository Create Repository
Create a new GitLab project/repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
default_branch | ||
description | string | null | |
initialize_with_readme | boolean | null | |
namespace_id | integer | |
path | string | null | |
visibility | string |
gitlab_create_group Create Group
Create a new GitLab group or subgroup.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
path * | string | |
description | string | null | |
parent_id | number | null | |
visibility | string |
gitlab_list_project_members List Project Members
List direct project members by default; set include_inheritance=true to include inherited members.
| Parameter | Type | Description |
|---|---|---|
include_inheritance | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
query | string | null | |
skip_users | ||
user_ids |
gitlab_list_group_members List Group Members
List direct group members by default, for example to find reviewers or assignees by name; set include_inheritance=true to include members inherited from parent groups.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
include_inheritance | boolean | null | |
page | number | null | |
per_page | number | null | |
query | string | null | |
skip_users | ||
user_ids |
gitlab_list_group_projects List Group Projects
List projects under a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
archived | boolean | null | |
include_subgroups | boolean | null | |
min_access_level | number | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
search | string | null | |
sort | string | |
starred | boolean | null | |
statistics | boolean | null | |
topic | string | null | |
visibility | string | |
with_custom_attributes | boolean | null | |
with_issues_enabled | boolean | null | |
with_merge_requests_enabled | boolean | null | |
with_programming_language | string | null | |
with_security_reports | boolean | null |
gitlab_list_group_iterations List Group Iterations
List iterations for a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
include_ancestors | boolean | null | |
include_descendants | boolean | null | |
page | number | null | |
per_page | number | null | |
search | string | null | |
search_in | ||
state | string | null | |
updated_after | string | null | |
updated_before | string | null |
gitlab_search_repositories Search Repositories
Search repositories by keyword.
| Parameter | Type | Description |
|---|---|---|
search * | string | |
page | number | null | |
per_page | number | null |
gitlab_search_code_blobs Search Code Blobs
Search repository code blobs in a specific project.
| Parameter | Type | Description |
|---|---|---|
search * | string | |
extension | string | null | |
filename | string | null | |
page | number | null | |
path | string | null | |
per_page | number | null | |
project_id | ||
ref |
gitlab_search_code Search Code
Search code across all projects on the GitLab instance. Requires GitLab code search support.
| Parameter | Type | Description |
|---|---|---|
search * | string | |
extension | string | null | |
filename | string | null | |
page | number | null | |
path | string | null | |
per_page | number | null |
gitlab_search_project_code Search Project Code
Search code in a specific project.
| Parameter | Type | Description |
|---|---|---|
search * | string | |
extension | string | null | |
filename | string | null | |
page | number | null | |
path | string | null | |
per_page | number | null | |
project_id | ||
ref |
gitlab_search_group_code Search Group Code
Search code in a specific group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
search * | string | |
extension | string | null | |
filename | string | null | |
page | number | null | |
path | string | null | |
per_page | number | null |
gitlab_get_repository_tree Get Repository Tree
List files and directories in a repository tree. For large trees pass pagination=keyset and follow next_page_token as page_token; offset page/per_page also work.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
page_token | ||
pagination | string | |
path | string | null | |
per_page | number | null | |
project_id | ||
recursive | boolean | null | |
ref |
gitlab_get_file_contents Get File Contents
Get a file in repository by path and ref.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
decode_base64 | boolean | null | |
project_id | ||
ref |
gitlab_get_file_blame Get File Blame
Get git blame for a repository file at a given ref. Optional line range must provide both range_start and range_end.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
ref * | string | |
project_id | ||
range_end | integer | |
range_start | integer |
gitlab_create_or_update_file Create Or Update File
Create or update one file in repository.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
commit_message * | string | |
content * | string | |
file_path * | string | |
author_email | string | null | |
author_name | string | null | |
commit_id | string | null | |
encoding | string | null | |
execute_filemode | boolean | null | |
last_commit_id | string | null | |
previous_path | string | null | |
project_id | ||
start_branch | string | null |
gitlab_push_files Push Files
Create a commit with multiple file actions.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
commit_message * | string | |
actions | array | |
author_email | string | null | |
author_name | string | null | |
files | array | |
force | boolean | null | |
project_id | ||
start_branch | string | null |
gitlab_create_branch Create Branch
Create a new branch from an existing ref.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id | ||
ref |
gitlab_list_branches List Branches
List repository branches.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id | ||
regex | string | null | |
search | string | null | |
sort | string |
gitlab_get_branch Get Branch
Get details for one repository branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id |
gitlab_list_protected_branches List Protected Branches
List protected branch rules for a project.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null |
gitlab_get_protected_branch Get Protected Branch
Get one protected branch or wildcard rule.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id |
gitlab_protect_branch Protect Branch
Protect a branch or wildcard rule and configure role-based push, merge, and unprotect access.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
allow_force_push | boolean | null | |
code_owner_approval_required | boolean | null | |
merge_access_level | ||
project_id | ||
push_access_level | ||
unprotect_access_level |
gitlab_update_protected_branch Update Protected Branch
Change an existing branch protection rule in place: allow_force_push, code_owner_approval_required, and allowed_to_push/allowed_to_merge/allowed_to_unprotect entries. Add an entry with one of access_level, user_id, group_id, or deploy_key_id (push only); change one with its id; remove one with {id, _destroy: true}. Read entry ids with gitlab_get_protected_branch. Changes that would leave nobody allowed to unprotect are refused.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
allow_force_push | boolean | null | |
allowed_to_merge | ||
allowed_to_push | ||
allowed_to_unprotect | ||
code_owner_approval_required | boolean | null | |
project_id |
gitlab_unprotect_branch Unprotect Branch
Remove protection from a branch or wildcard rule. This immediately permits actions previously blocked. Requires branch. Recommended pre-check: gitlab_get_protected_branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id |
gitlab_update_default_branch Update Default Branch
Change a project's default branch to an existing branch.
| Parameter | Type | Description |
|---|---|---|
default_branch * | string | |
project_id |
gitlab_delete_branch Delete Branch
Delete a repository branch permanently. Requires branch. Recommended pre-check: gitlab_get_branch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
project_id |
gitlab_get_branch_diffs Get Branch Diffs
Compare two branches/refs and return diffs.
| Parameter | Type | Description |
|---|---|---|
from * | string | |
to * | string | |
excluded_file_patterns | ||
project_id | ||
straight | boolean | null |
gitlab_list_commits List Commits
List commits in a project.
| Parameter | Type | Description |
|---|---|---|
all | boolean | null | |
author | string | null | |
first_parent | boolean | null | |
order | string | |
page | number | null | |
path | string | null | |
per_page | number | null | |
project_id | ||
ref_name | ||
since | string | null | |
trailers | boolean | null | |
until | string | null | |
with_stats | boolean | null |
gitlab_get_commit Get Commit
Get one commit by SHA.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
project_id | ||
stats | boolean | null |
gitlab_get_commit_diff Get Commit Diff
Get diff for one commit.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
full_diff | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_list_commit_statuses List Commit Statuses
List statuses for a commit.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
all | boolean | null | |
name | string | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
pipeline_id | number | null | |
project_id | ||
ref | ||
sort | string | |
stage | string | null |
gitlab_create_commit_status Create Commit Status
Create or update the status of a commit.
| Parameter | Type | Description |
|---|---|---|
sha * | string | |
state * | string | |
context | string | null | |
coverage | number | null | |
description | string | null | |
name | string | null | |
pipeline_id | number | null | |
project_id | ||
ref | ||
target_url | string | null |
gitlab_list_merge_requests List Merge Requests
List merge requests for a project.
| Parameter | Type | Description |
|---|---|---|
approved_by_usernames | ||
assignee_id | string | number | null | |
assignee_username | string | null | |
author_id | string | number | null | |
author_username | string | null | |
created_after | string | null | |
created_before | string | null | |
labels | ||
milestone | string | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
reviewer_id | string | number | null | |
reviewer_username | string | null | |
scope | string | null | |
search | string | null | |
sort | string | |
source_branch | ||
state | string | null | |
target_branch | ||
updated_after | string | null | |
updated_before | string | null | |
wip | string | |
with_labels_details | boolean | null |
gitlab_list_group_merge_requests List Group Merge Requests
List merge requests across every project in a group and its subgroups, with the same filters as gitlab_list_merge_requests. non_archived=true skips archived projects.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
approved_by_usernames | ||
assignee_id | string | number | null | |
assignee_username | string | null | |
author_id | string | number | null | |
author_username | string | null | |
created_after | string | null | |
created_before | string | null | |
labels | ||
milestone | string | null | |
non_archived | boolean | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
reviewer_id | string | number | null | |
reviewer_username | string | null | |
scope | string | null | |
search | string | null | |
sort | string | |
source_branch | ||
state | string | null | |
target_branch | ||
updated_after | string | null | |
updated_before | string | null | |
wip | string | |
with_labels_details | boolean | null |
gitlab_get_merge_request Get Merge Request
Get one merge request.
| Parameter | Type | Description |
|---|---|---|
include_summaries | boolean | null | |
merge_request_iid | string | null | |
project_id | ||
source_branch |
gitlab_list_merge_request_pipelines List Merge Request Pipelines
List pipelines associated with a merge request.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_create_merge_request Create Merge Request
Create a merge request.
| Parameter | Type | Description |
|---|---|---|
source_branch * | string | |
target_branch * | string | |
title * | string | |
allow_collaboration | boolean | null | |
assignee_ids | ||
description | string | null | |
draft | boolean | null | |
labels | ||
milestone_id | integer | |
project_id | ||
remove_source_branch | boolean | null | |
reviewer_ids | ||
squash | boolean | null | |
target_project_id |
gitlab_fork_repository Fork Repository
Fork an existing project to another namespace.
| Parameter | Type | Description |
|---|---|---|
default_branch | ||
description | string | null | |
name | ||
namespace | string | null | |
namespace_id | integer | |
path | string | null | |
project_id | ||
visibility | string |
gitlab_update_merge_request Update Merge Request
Update merge request fields. labels replaces every label; add_labels and remove_labels change only the named ones. milestone_id 0 unassigns the milestone.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
add_labels | ||
allow_collaboration | boolean | null | |
assignee_ids | ||
description | string | null | |
discussion_locked | boolean | null | |
draft | boolean | null | |
labels | ||
milestone_id | integer | |
project_id | ||
remove_labels | ||
remove_source_branch | boolean | null | |
reviewer_ids | ||
reviewers | ||
source_branch | ||
squash | boolean | null | |
state_event | string | |
target_branch | ||
title | string | null |
gitlab_merge_merge_request Merge Merge Request
Merge an existing merge request.
| Parameter | Type | Description |
|---|---|---|
auto_merge | boolean | null | |
merge_commit_message | string | null | |
merge_request_iid | string | null | |
merge_when_pipeline_succeeds | boolean | null | |
project_id | ||
sha | string | null | |
should_remove_source_branch | boolean | null | |
source_branch | ||
squash | boolean | null | |
squash_commit_message | string | null |
gitlab_get_merge_request_diffs Get Merge Request Diffs
Get MR diffs with changed files.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
excluded_file_patterns | ||
project_id | ||
view | string |
gitlab_list_merge_request_changed_files List Merge Request Changed Files
Step 1 for large MR review: return changed file metadata without diff content.
| Parameter | Type | Description |
|---|---|---|
excluded_file_patterns | ||
merge_request_iid | string | null | |
project_id | ||
source_branch |
gitlab_list_merge_request_diffs List Merge Request Diffs
List detailed MR diffs (versions/changes view).
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
unidiff | boolean | null |
gitlab_get_merge_request_file_diff Get Merge Request File Diff
Step 2 for large MR review: fetch diffs for specific files from a merge request.
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | |
merge_request_iid | string | null | |
project_id | ||
source_branch | ||
unidiff | boolean | null |
gitlab_get_merge_request_code_context Get Merge Request Code Context
High-signal MR code context with include/exclude filters, sorting, and token-budgeted output.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
context_lines | integer | |
exclude_paths | array | |
extensions | array | |
include_paths | array | |
languages | array | |
list_only | boolean | |
max_files | integer | |
max_total_chars | integer | |
mode | string | |
project_id | ||
sort | string |
gitlab_list_merge_request_versions List Merge Request Versions
List MR diff versions.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id |
gitlab_get_merge_request_version Get Merge Request Version
Get one MR diff version.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
version_id * | string | |
project_id | ||
unidiff | boolean | null |
gitlab_approve_merge_request Approve Merge Request
Approve a merge request.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
approval_password | string | null | |
project_id | ||
sha | string | null |
gitlab_unapprove_merge_request Unapprove Merge Request
Remove current user approval from MR.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id |
gitlab_get_merge_request_approval_state Get Merge Request Approval State
Get approval state for MR.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id |
gitlab_get_merge_request_conflicts Get Merge Request Conflicts
Get conflict details for MR.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id |
gitlab_list_merge_request_discussions List Merge Request Discussions
List MR discussions.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_get_merge_request_discussion Get Merge Request Discussion
Get one MR discussion thread by discussion_id with all its notes and resolution state. Use gitlab_list_merge_request_discussions to find IDs.
| Parameter | Type | Description |
|---|---|---|
discussion_id * | string | |
merge_request_iid * | string | |
project_id |
gitlab_create_merge_request_thread Create Merge Request Thread
Create a new MR discussion thread (supports diff positions).
| Parameter | Type | Description |
|---|---|---|
body * | string | |
merge_request_iid * | string | |
created_at | string | null | |
position | ||
project_id |
gitlab_create_merge_request_discussion_note Create MR Discussion Note
Add note to existing MR discussion thread.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
discussion_id * | string | |
merge_request_iid * | string | |
created_at | string | null | |
project_id |
gitlab_update_merge_request_discussion_note Update MR Discussion Note
Update note body/resolved state in MR discussion.
| Parameter | Type | Description |
|---|---|---|
discussion_id * | string | |
merge_request_iid * | string | |
note_id * | string | |
body | ||
project_id | ||
resolved | boolean | null |
gitlab_delete_merge_request_discussion_note Delete MR Discussion Note
Delete an MR discussion note permanently. Irreversible. Requires merge_request_iid, discussion_id, and note_id. Recommended pre-check: gitlab_list_merge_request_discussions.
| Parameter | Type | Description |
|---|---|---|
discussion_id * | string | |
merge_request_iid * | string | |
note_id * | string | |
project_id |
gitlab_resolve_merge_request_thread Resolve Merge Request Thread
Resolve/unresolve an MR discussion note.
| Parameter | Type | Description |
|---|---|---|
discussion_id * | string | |
merge_request_iid * | string | |
note_id * | string | |
project_id | ||
resolved | boolean |
gitlab_list_merge_request_notes List Merge Request Notes
List top-level notes for an MR.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
order_by | string | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
sort | string | null |
gitlab_get_draft_note Get Draft Note
Get a single merge-request draft note.
| Parameter | Type | Description |
|---|---|---|
draft_note_id * | string | |
merge_request_iid * | string | |
project_id |
gitlab_list_draft_notes List Draft Notes
List draft notes on a merge request.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id |
gitlab_create_draft_note Create Draft Note
Create a merge-request draft note.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
merge_request_iid * | string | |
position | ||
project_id | ||
resolve_discussion | boolean | null |
gitlab_update_draft_note Update Draft Note
Update a merge-request draft note.
| Parameter | Type | Description |
|---|---|---|
draft_note_id * | string | |
merge_request_iid * | string | |
body | ||
position | ||
project_id | ||
resolve_discussion | boolean | null |
gitlab_delete_draft_note Delete Draft Note
Delete a merge-request draft note permanently. Irreversible. Requires merge_request_iid and draft_note_id. Recommended pre-check: gitlab_get_draft_note or gitlab_list_draft_notes.
| Parameter | Type | Description |
|---|---|---|
draft_note_id * | string | |
merge_request_iid * | string | |
project_id |
gitlab_publish_draft_note Publish Draft Note
Publish one merge-request draft note.
| Parameter | Type | Description |
|---|---|---|
draft_note_id * | string | |
merge_request_iid * | string | |
project_id |
gitlab_bulk_publish_draft_notes Bulk Publish Draft Notes
Publish all merge-request draft notes. On GitLab 19.2+ it can also set your reviewer state (requested_changes or reviewed; not a formal approval) and post a summary note, even with no drafts.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
internal | boolean | null | |
note | ||
project_id | ||
reviewer_state | string |
gitlab_get_merge_request_note Get Merge Request Note
Get a single MR note.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
note_id * | string | |
project_id |
gitlab_create_merge_request_note Create Merge Request Note
Create a top-level MR note.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
merge_request_iid * | string | |
project_id |
gitlab_create_note Create Note
Create a note on an issue or merge request.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
noteable_iid * | string | |
noteable_type * | string | |
project_id |
gitlab_update_merge_request_note Update Merge Request Note
Update MR note body.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
merge_request_iid * | string | |
note_id * | string | |
project_id |
gitlab_delete_merge_request_note Delete Merge Request Note
Delete a top-level MR note permanently. Irreversible. Requires merge_request_iid and note_id. Recommended pre-check: gitlab_get_merge_request_note or gitlab_list_merge_request_notes.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
note_id * | string | |
project_id |
gitlab_list_merge_request_emoji_reactions List Merge Request Emoji Reactions
List emoji reactions on a merge request.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_list_merge_request_note_emoji_reactions List MR Note Emoji Reactions
List emoji reactions on a merge request note. Pass discussion_id for discussion replies.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
note_id * | string | |
discussion_id | string | null | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_create_merge_request_emoji_reaction Create Merge Request Emoji Reaction
Add an emoji reaction to a merge request, for example thumbsup, rocket, or eyes.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
name * | string | |
project_id |
gitlab_delete_merge_request_emoji_reaction Delete Merge Request Emoji Reaction
Delete an emoji reaction from a merge request permanently. Irreversible for that reaction. Requires merge_request_iid and award_id. Recommended pre-check: gitlab_list_merge_request_emoji_reactions.
| Parameter | Type | Description |
|---|---|---|
award_id * | string | |
merge_request_iid * | string | |
project_id |
gitlab_create_merge_request_note_emoji_reaction Create MR Note Emoji Reaction
Add an emoji reaction to a merge request note. Pass discussion_id for discussion replies.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
name * | string | |
note_id * | string | |
discussion_id | string | null | |
project_id |
gitlab_delete_merge_request_note_emoji_reaction Delete MR Note Emoji Reaction
Delete an emoji reaction from a merge request note permanently. Irreversible for that reaction. Requires merge_request_iid, note_id, and award_id. Recommended pre-check: gitlab_list_merge_request_note_emoji_reactions.
| Parameter | Type | Description |
|---|---|---|
award_id * | string | |
merge_request_iid * | string | |
note_id * | string | |
discussion_id | string | null | |
project_id |
gitlab_list_issues List Issues
List issues in project.
| Parameter | Type | Description |
|---|---|---|
assignee_id | string | number | null | |
assignee_username | ||
author_id | string | number | null | |
author_username | string | null | |
confidential | boolean | null | |
created_after | string | null | |
created_before | string | null | |
due_date | string | null | |
issue_type | string | |
iteration_id | string | number | null | |
labels | ||
milestone | string | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
scope | string | |
search | string | null | |
state | string | null | |
updated_after | string | null | |
updated_before | string | null | |
with_labels_details | boolean | null |
gitlab_my_issues My Issues
List issues assigned to the current authenticated user.
| Parameter | Type | Description |
|---|---|---|
created_after | string | null | |
created_before | string | null | |
labels | ||
milestone | string | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
state | string | |
updated_after | string | null | |
updated_before | string | null |
gitlab_list_todos List Todos
List to-do items for the current authenticated user.
| Parameter | Type | Description |
|---|---|---|
action | string | |
author_id | number | null | |
group_id | number | null | |
page | number | null | |
per_page | number | null | |
project_id | number | null | |
state | string | |
type | string |
gitlab_mark_todo_done Mark Todo Done
Mark one to-do item as done.
| Parameter | Type | Description |
|---|---|---|
todo_id * | string |
gitlab_mark_all_todos_done Mark All Todos Done
Mark all pending to-do items as done for the current authenticated user.
gitlab_get_issue Get Issue
Get issue by IID.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
full_response | boolean | null | |
project_id |
gitlab_create_issue Create Issue
Create a new issue.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
assignee_ids | ||
confidential | boolean | null | |
description | string | null | |
due_date | string | null | |
issue_type | string | null | |
labels | ||
milestone_id | number | null | |
project_id |
gitlab_update_issue Update Issue
Update issue fields.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
assignee_ids | ||
confidential | boolean | null | |
description | string | null | |
discussion_locked | boolean | null | |
due_date | string | null | |
full_response | boolean | null | |
issue_type | string | |
labels | ||
milestone_id | number | null | |
project_id | ||
state_event | string | null | |
title | string | null | |
weight | number | null |
gitlab_reorder_issue Reorder Issue
Change an issue's relative position in boards and manually sorted lists. move_after_id and move_before_id take global issue IDs (the id field, not iid) of the neighbors: move_after_id is the issue that should follow this one and move_before_id the issue that should precede it.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
move_after_id | ||
move_before_id | ||
project_id |
gitlab_update_issue_description_patch Update Issue Description Patch
Apply a search/replace or unified diff patch to an issue description without sending the full replacement text.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
patch * | string | |
patch_type * | string | |
allow_multiple | boolean | null | |
create_note | boolean | null | |
dry_run | boolean | null | |
project_id |
gitlab_delete_issue Delete Issue
Delete an issue permanently. Irreversible. Requires issue_iid. Recommended pre-check: gitlab_get_issue.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
project_id |
gitlab_list_issue_discussions List Issue Discussions
List issue discussions.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_create_issue_note Create Issue Note
Create issue comment (top-level or discussion note).
| Parameter | Type | Description |
|---|---|---|
body * | string | |
issue_iid * | string | |
created_at | string | null | |
discussion_id | string | null | |
project_id |
gitlab_update_issue_note Update Issue Note
Update an issue discussion note body or resolved state.
| Parameter | Type | Description |
|---|---|---|
discussion_id * | string | |
issue_iid * | string | |
note_id * | string | |
body | ||
project_id | ||
resolved | boolean | null |
gitlab_list_issue_emoji_reactions List Issue Emoji Reactions
List emoji reactions on an issue.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_list_issue_note_emoji_reactions List Issue Note Emoji Reactions
List emoji reactions on an issue note. Pass discussion_id for discussion replies.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
note_id * | string | |
discussion_id | string | null | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_create_issue_emoji_reaction Create Issue Emoji Reaction
Add an emoji reaction to an issue, for example thumbsup, rocket, or eyes.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
name * | string | |
project_id |
gitlab_delete_issue_emoji_reaction Delete Issue Emoji Reaction
Delete an emoji reaction from an issue permanently. Irreversible for that reaction. Requires issue_iid and award_id. Recommended pre-check: gitlab_list_issue_emoji_reactions.
| Parameter | Type | Description |
|---|---|---|
award_id * | string | |
issue_iid * | string | |
project_id |
gitlab_create_issue_note_emoji_reaction Create Issue Note Emoji Reaction
Add an emoji reaction to an issue note. Pass discussion_id for discussion replies.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
name * | string | |
note_id * | string | |
discussion_id | string | null | |
project_id |
gitlab_delete_issue_note_emoji_reaction Delete Issue Note Emoji Reaction
Delete an emoji reaction from an issue note permanently. Irreversible for that reaction. Requires issue_iid, note_id, and award_id. Recommended pre-check: gitlab_list_issue_note_emoji_reactions.
| Parameter | Type | Description |
|---|---|---|
award_id * | string | |
issue_iid * | string | |
note_id * | string | |
discussion_id | string | null | |
project_id |
gitlab_list_issue_links List Issue Links
List related issue links for an issue.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
project_id |
gitlab_get_issue_link Get Issue Link
Get a single issue link by ID.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
issue_link_id * | string | |
project_id |
gitlab_create_issue_link Create Issue Link
Create a relation between two issues.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
target_issue_iid * | string | |
target_project_id * | string | |
link_type | string | |
project_id |
gitlab_delete_issue_link Delete Issue Link
Delete an issue link permanently. Irreversible for that relation. Requires issue_iid and issue_link_id. Recommended pre-check: gitlab_get_issue_link or gitlab_list_issue_links.
| Parameter | Type | Description |
|---|---|---|
issue_iid * | string | |
issue_link_id * | string | |
project_id |
gitlab_list_wiki_pages List Wiki Pages
List wiki pages in a project.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id | ||
render_html | boolean | null | |
with_content | boolean | null |
gitlab_get_wiki_page Get Wiki Page
Get wiki page by slug.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
project_id | ||
render_html | boolean | null | |
version | string | null |
gitlab_create_wiki_page Create Wiki Page
Create a wiki page.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
title * | string | |
format | string | null | |
project_id |
gitlab_update_wiki_page Update Wiki Page
Update wiki page by slug.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
slug * | string | |
format | string | null | |
project_id | ||
title | string | null |
gitlab_delete_wiki_page Delete Wiki Page
Delete a wiki page permanently. Irreversible. Requires slug. Recommended pre-check: gitlab_get_wiki_page or gitlab_list_wiki_pages.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
project_id |
gitlab_list_group_wiki_pages List Group Wiki Pages
List wiki pages in a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
page | number | null | |
per_page | number | null | |
render_html | boolean | null | |
with_content | boolean | null |
gitlab_get_group_wiki_page Get Group Wiki Page
Get group wiki page by slug.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
slug * | string | |
render_html | boolean | null | |
version | string | null |
gitlab_create_group_wiki_page Create Group Wiki Page
Create a group wiki page.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
group_id * | string | |
title * | string | |
format | string | null |
gitlab_update_group_wiki_page Update Group Wiki Page
Update group wiki page by slug.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
slug * | string | |
content | string | null | |
format | string | null | |
title | string | null |
gitlab_delete_group_wiki_page Delete Group Wiki Page
Delete a group wiki page permanently. Irreversible. Requires group_id and slug. Recommended pre-check: gitlab_get_group_wiki_page or gitlab_list_group_wiki_pages.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
slug * | string |
gitlab_list_pipelines List Pipelines
List pipelines for a project.
| Parameter | Type | Description |
|---|---|---|
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
ref | ||
scope | string | |
sha | string | null | |
sort | string | |
source | string | null | |
status | string | |
updated_after | string | null | |
updated_before | string | null | |
username | string | null | |
yaml_errors | boolean | null |
gitlab_get_pipeline Get Pipeline
Get one pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id |
gitlab_list_deployments List Deployments
List deployments in a project.
| Parameter | Type | Description |
|---|---|---|
environment | string | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
ref | ||
sha | string | null | |
sort | string | |
status | string | null | |
updated_after | string | null | |
updated_before | string | null |
gitlab_get_deployment Get Deployment
Get one deployment by ID.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | |
project_id |
gitlab_list_environments List Environments
List environments in a project.
| Parameter | Type | Description |
|---|---|---|
name | ||
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
states | string |
gitlab_get_environment Get Environment
Get one environment by ID.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | |
project_id |
gitlab_list_pipeline_jobs List Pipeline Jobs
List jobs in a pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
include_retried | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
scope | string |
gitlab_list_pipeline_trigger_jobs List Pipeline Trigger Jobs
List downstream/bridge trigger jobs in a pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
scope | string |
gitlab_get_pipeline_job Get Pipeline Job
Get one job by job ID.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
project_id |
gitlab_get_pipeline_job_output Get Pipeline Job Output
Get a bounded, untrusted job trace window (at most 1,000 lines from the end), or pass search (a substring or list of substrings, case-insensitive by default) to return only matching lines with context from the loaded log.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
case_sensitive | boolean | null | |
context_lines | integer | |
limit | integer | |
max_matches | integer | |
offset | integer | |
project_id | ||
search |
gitlab_validate_ci_lint Validate CI Lint
Validate provided GitLab CI/CD YAML content for a project.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
dry_run | boolean | null | |
include_jobs | boolean | null | |
project_id | ||
ref |
gitlab_validate_project_ci_lint Validate Project CI Lint
Validate an existing project CI/CD configuration.
| Parameter | Type | Description |
|---|---|---|
content_ref | ||
dry_run | boolean | null | |
dry_run_ref | ||
include_jobs | boolean | null | |
project_id |
gitlab_list_ci_catalog_resources List CI/CD Catalog Resources
List GitLab CI/CD Catalog resources with cursor pagination and catalog filters.
| Parameter | Type | Description |
|---|---|---|
after | string | null | |
first | integer | |
group_ids | ||
scope | string | |
search | string | null | |
sort | string | |
topics | ||
verification_level | string |
gitlab_get_ci_catalog_resource Get CI/CD Catalog Resource
Get one GitLab CI/CD Catalog resource, including paginated versions and components.
| Parameter | Type | Description |
|---|---|---|
component_after | string | null | |
component_limit | integer | |
component_name | string | null | |
full_path | string | null | |
id | string | null | |
include_readme | boolean | null | |
version_after | string | null | |
version_limit | integer |
gitlab_list_job_artifacts List Job Artifacts
List files and directories inside a job artifacts archive.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
path | string | null | |
project_id | ||
recursive | boolean | null |
gitlab_download_job_artifacts Download Job Artifacts
Download the full job artifacts archive as base64 content.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
project_id |
gitlab_download_job_artifacts_local Download Job Artifacts Local
Download the full job artifacts archive to a local directory.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
local_path | string | null | |
project_id |
gitlab_get_job_artifact_file Get Job Artifact File
Return one file from a job artifacts archive as inline UTF-8 or base64 content.
| Parameter | Type | Description |
|---|---|---|
artifact_path * | string | |
job_id * | string | |
project_id |
gitlab_get_job_artifact_file_local Get Job Artifact File Local
Save one file from a job artifacts archive to a local directory.
| Parameter | Type | Description |
|---|---|---|
artifact_path * | string | |
job_id * | string | |
local_path | string | null | |
project_id |
gitlab_create_pipeline Create Pipeline
Trigger a new pipeline.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
inputs | ||
project_id | ||
variables | array |
gitlab_retry_pipeline Retry Pipeline
Retry failed jobs in pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id |
gitlab_cancel_pipeline Cancel Pipeline
Cancel a running pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id |
gitlab_retry_pipeline_job Retry Pipeline Job
Retry one failed job. job_inputs overrides typed values for the job's inputs definitions.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
job_inputs | ||
project_id |
gitlab_cancel_pipeline_job Cancel Pipeline Job
Cancel one running job. force=true also cancels a job stuck in the canceling state.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
force | boolean | null | |
project_id |
gitlab_play_pipeline_job Play Pipeline Job
Play a manual job, optionally with job_variables_attributes ([{key, value}]) and typed job_inputs.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
job_inputs | ||
job_variables_attributes | ||
project_id |
gitlab_list_milestones List Milestones
List project milestones.
| Parameter | Type | Description |
|---|---|---|
iids | ||
include_ancestors | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
state | string | null | |
title | string | null | |
updated_after | string | null | |
updated_before | string | null |
gitlab_get_milestone Get Milestone
Get a milestone by ID.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
project_id |
gitlab_create_milestone Create Milestone
Create a milestone.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
description | string | null | |
due_date | string | null | |
project_id | ||
start_date | string | null |
gitlab_update_milestone Update Milestone
Update milestone fields.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
description | string | null | |
due_date | string | null | |
project_id | ||
start_date | string | null | |
state_event | string | null | |
title | string | null |
gitlab_delete_milestone Delete Milestone
Delete a milestone permanently. Irreversible. Requires milestone_id. Recommended pre-check: gitlab_get_milestone or gitlab_list_milestones.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
project_id |
gitlab_get_milestone_issue Get Milestone Issues
List issues assigned to a milestone.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
project_id |
gitlab_get_milestone_merge_requests Get Milestone Merge Requests
List merge requests assigned to a milestone.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_promote_milestone Promote Milestone
Promote a project milestone to a group milestone.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
project_id |
gitlab_get_milestone_burndown_events Get Milestone Burndown Events
List burndown events for a milestone.
| Parameter | Type | Description |
|---|---|---|
milestone_id * | string | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_list_releases List Releases
List project releases.
| Parameter | Type | Description |
|---|---|---|
include_html_description | boolean | null | |
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
sort | string |
gitlab_get_release Get Release
Get one release by tag name.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
include_html_description | boolean | null | |
project_id |
gitlab_create_release Create Release
Create a release.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
assets | ||
description | string | null | |
milestones | ||
name | ||
project_id | ||
ref | ||
released_at | string | null | |
tag_message | string | null |
gitlab_update_release Update Release
Update existing release.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
assets | ||
description | string | null | |
milestones | ||
name | ||
project_id | ||
released_at | string | null |
gitlab_delete_release Delete Release
Delete the release record for tag_name permanently. Irreversible for the release entry. Requires tag_name. Recommended pre-check: gitlab_get_release or gitlab_list_releases.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
project_id |
gitlab_create_release_evidence Create Release Evidence
Create evidence for an existing release.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
project_id |
gitlab_download_release_asset Download Release Asset
Download a release asset using its direct asset path.
| Parameter | Type | Description |
|---|---|---|
direct_asset_path * | string | |
tag_name * | string | |
project_id |
gitlab_list_tags List Tags
List repository tags for a project.
| Parameter | Type | Description |
|---|---|---|
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
sort | string |
gitlab_get_tag Get Tag
Get a repository tag by name.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
project_id |
gitlab_create_tag Create Tag
Create a repository tag from a branch, commit SHA, or another tag.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
tag_name * | string | |
message | string | null | |
project_id |
gitlab_delete_tag Delete Tag
Delete a repository tag permanently. Irreversible for tag_name. Requires tag_name. Recommended pre-check: gitlab_get_tag or gitlab_list_tags.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
project_id |
gitlab_get_tag_signature Get Tag Signature
Get the X.509 signature for a signed repository tag.
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | |
project_id |
gitlab_list_labels List Labels
List project labels.
| Parameter | Type | Description |
|---|---|---|
include_ancestor_groups | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
with_counts | boolean | null |
gitlab_get_label Get Label
Get one label by ID.
| Parameter | Type | Description |
|---|---|---|
label_id * | string | |
include_ancestor_groups | boolean | null | |
project_id |
gitlab_create_label Create Label
Create a label.
| Parameter | Type | Description |
|---|---|---|
color * | string | |
name * | string | |
description | string | null | |
priority | number | null | |
project_id |
gitlab_update_label Update Label
Update a label.
| Parameter | Type | Description |
|---|---|---|
color | string | null | |
description | string | null | |
label_id | ||
name | ||
new_name | ||
priority | number | null | |
project_id |
gitlab_delete_label Delete Label
Delete a label permanently. Irreversible. Requires name or label_id. Recommended pre-check: gitlab_get_label or gitlab_list_labels.
| Parameter | Type | Description |
|---|---|---|
label_id | ||
name | ||
project_id |
gitlab_list_namespaces List Namespaces
List namespaces visible to user.
| Parameter | Type | Description |
|---|---|---|
owned | boolean | null | |
page | number | null | |
per_page | number | null | |
search | string | null |
gitlab_get_namespace Get Namespace
Get namespace by ID or path.
| Parameter | Type | Description |
|---|---|---|
namespace_id | ||
namespace_id_or_path |
gitlab_verify_namespace Verify Namespace
Verify if namespace path exists.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
parent_id | integer |
gitlab_get_users Get Users
Search users.
| Parameter | Type | Description |
|---|---|---|
active | boolean | null | |
extern_uid | string | null | |
page | number | null | |
per_page | number | null | |
provider | string | null | |
search | string | null | |
username | string | null |
gitlab_get_user Get User
Get one user by ID.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
gitlab_whoami Who Am I
Get the current authenticated user.
gitlab_list_events List Events
List current user events.
| Parameter | Type | Description |
|---|---|---|
action | string | null | |
after | string | null | |
before | string | null | |
page | number | null | |
per_page | number | null | |
scope | string | null | |
sort | string | null | |
target_type | string | null |
gitlab_get_project_events Get Project Events
List events for a specific project.
| Parameter | Type | Description |
|---|---|---|
action | string | null | |
after | string | null | |
before | string | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
sort | string | null | |
target_type | string | null |
gitlab_list_webhooks List Webhooks
List configured webhooks for a project or group.
| Parameter | Type | Description |
|---|---|---|
group_id | ||
page | number | null | |
per_page | number | null | |
project_id |
gitlab_list_webhook_events List Webhook Events
List recent webhook events for a project or group webhook. Use summary mode for overviews.
| Parameter | Type | Description |
|---|---|---|
hook_id * | string | number | |
group_id | ||
page | number | null | |
per_page | integer | |
project_id | ||
status | string | number | null | |
summary | boolean | null |
gitlab_get_webhook_event Get Webhook Event
Find one webhook event by ID. Provide page when known, otherwise scans up to 500 recent events.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | number | |
hook_id * | string | number | |
group_id | ||
page | number | null | |
project_id |
gitlab_create_webhook Create Webhook
Create a project or group webhook. GitLab then sends the selected event payloads to url, so only target endpoints you trust. token and url are redacted from errors and never returned.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
branch_filter_strategy | string | |
confidential_issues_events | boolean | null | |
confidential_note_events | boolean | null | |
deployment_events | boolean | null | |
description | ||
emoji_events | boolean | null | |
enable_ssl_verification | boolean | null | |
feature_flag_events | boolean | null | |
group_id | ||
issues_events | boolean | null | |
job_events | boolean | null | |
member_events | boolean | null | |
merge_requests_events | boolean | null | |
name | ||
note_events | boolean | null | |
pipeline_events | boolean | null | |
project_events | boolean | null | |
project_id | ||
push_events | boolean | null | |
push_events_branch_filter | string | null | |
releases_events | boolean | null | |
resource_access_token_events | boolean | null | |
subgroup_events | boolean | null | |
tag_push_events | boolean | null | |
token | ||
vulnerability_events | boolean | null | |
wiki_page_events | boolean | null |
gitlab_update_webhook Update Webhook
Update a project or group webhook's URL, secret token, events, or SSL verification. Omitted fields keep their values.
| Parameter | Type | Description |
|---|---|---|
hook_id * | ||
branch_filter_strategy | string | |
confidential_issues_events | boolean | null | |
confidential_note_events | boolean | null | |
deployment_events | boolean | null | |
description | ||
emoji_events | boolean | null | |
enable_ssl_verification | boolean | null | |
feature_flag_events | boolean | null | |
group_id | ||
issues_events | boolean | null | |
job_events | boolean | null | |
member_events | boolean | null | |
merge_requests_events | boolean | null | |
name | ||
note_events | boolean | null | |
pipeline_events | boolean | null | |
project_events | boolean | null | |
project_id | ||
push_events | boolean | null | |
push_events_branch_filter | string | null | |
releases_events | boolean | null | |
resource_access_token_events | boolean | null | |
subgroup_events | boolean | null | |
tag_push_events | boolean | null | |
token | ||
url | ||
vulnerability_events | boolean | null | |
wiki_page_events | boolean | null |
gitlab_delete_webhook Delete Webhook
Delete a project or group webhook permanently; GitLab stops sending its events. Irreversible. Requires hook_id. Recommended pre-check: gitlab_list_webhooks.
| Parameter | Type | Description |
|---|---|---|
hook_id * | ||
group_id | ||
project_id |
gitlab_upload_markdown Upload Markdown
Upload markdown file/attachment to project.
| Parameter | Type | Description |
|---|---|---|
content | string | null | |
file_path | string | null | |
filename | string | |
project_id |
gitlab_download_attachment Download Attachment
Download attachment by URL/path and return base64.
| Parameter | Type | Description |
|---|---|---|
filename | string | null | |
project_id | ||
secret | string | null | |
url_or_path |
gitlab_get_work_item Get Work Item
Get a single work item with full widget details including status, hierarchy, labels, assignees, linked items, custom fields, and development data.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
project_id |
gitlab_list_work_items List Work Items
List work items in a project with filters for type, state, search, assignees, and labels.
| Parameter | Type | Description |
|---|---|---|
after | string | null | |
assignee_usernames | ||
first | integer | |
label_names | ||
project_id | ||
search | string | null | |
state | string | |
types |
gitlab_create_work_item Create Work Item
Create a work item of type issue, task, incident, test_case, epic, key_result, objective, requirement, or ticket.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
assignee_usernames | ||
confidential | boolean | null | |
description | string | null | |
due_date | string | null | |
health_status | string | |
iteration_id | string | null | |
labels | ||
milestone_id | string | null | |
parent_iid | integer | |
project_id | ||
start_date | string | null | |
type | ||
weight | number | null |
gitlab_update_work_item Update Work Item
Update a work item title, description, labels, assignees, state, status, hierarchy, linked items, custom fields, dates, milestone, iteration, and incident metadata.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
add_labels | ||
assignee_usernames | ||
children_to_add | ||
children_to_remove | ||
confidential | boolean | null | |
custom_fields | ||
description | string | null | |
due_date | string | null | |
escalation_status | string | |
health_status | string | |
iteration_id | string | null | |
linked_items_to_add | ||
linked_items_to_remove | ||
milestone_id | string | null | |
parent_iid | integer | |
parent_project_id | ||
project_id | ||
remove_labels | ||
remove_parent | boolean | null | |
severity | string | |
start_date | string | null | |
state_event | string | |
status | string | null | |
title | string | null | |
weight | number | null |
gitlab_convert_work_item_type Convert Work Item Type
Convert a work item to a different type.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
new_type * | string | |
project_id |
gitlab_list_work_item_statuses List Work Item Statuses
List available statuses and allowed hierarchy/conversion types for a work item type.
| Parameter | Type | Description |
|---|---|---|
project_id | ||
work_item_type |
gitlab_list_custom_field_definitions List Custom Field Definitions
List custom field definitions for a work item type, including field IDs, types, options, and supported work item types.
| Parameter | Type | Description |
|---|---|---|
project_id | ||
work_item_type |
gitlab_move_work_item Move Work Item
Move a work item to a different project.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
target_project_id * | string | |
project_id |
gitlab_list_work_item_notes List Work Item Notes
List threaded discussions and notes on a work item.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
after | string | null | |
page_size | integer | |
project_id | ||
sort | string |
gitlab_create_work_item_note Create Work Item Note
Add a note or threaded reply to a work item.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
iid * | integer | |
discussion_id | string | null | |
internal | boolean | null | |
project_id |
gitlab_list_work_item_emoji_reactions List Work Item Emoji Reactions
List emoji reactions on a work item.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
project_id |
gitlab_list_work_item_note_emoji_reactions List Work Item Note Emoji Reactions
List emoji reactions on a work item note by GraphQL note_id.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
note_id * | string | |
project_id |
gitlab_create_work_item_emoji_reaction Create Work Item Emoji Reaction
Add an emoji reaction to a work item, for example thumbsup, rocket, or eyes.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
name * | string | |
project_id |
gitlab_delete_work_item_emoji_reaction Delete Work Item Emoji Reaction
Remove the current user's emoji reaction from a work item by emoji name. Requires iid and name.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
name * | string | |
project_id |
gitlab_create_work_item_note_emoji_reaction Create Work Item Note Emoji Reaction
Add an emoji reaction to a work item note by GraphQL note_id.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
name * | string | |
note_id * | string | |
project_id |
gitlab_delete_work_item_note_emoji_reaction Delete Work Item Note Emoji Reaction
Remove the current user's emoji reaction from a work item note by GraphQL note_id and emoji name.
| Parameter | Type | Description |
|---|---|---|
iid * | integer | |
name * | string | |
note_id * | string | |
project_id |
gitlab_get_timeline_events Get Timeline Events
List timeline events for an incident work item.
| Parameter | Type | Description |
|---|---|---|
incident_iid * | integer | |
project_id |
gitlab_create_timeline_event Create Timeline Event
Create an incident timeline event with optional known GitLab incident timeline tags.
| Parameter | Type | Description |
|---|---|---|
incident_iid * | integer | |
note * | string | |
occurred_at * | string | |
project_id | ||
tag_names |
gitlab_execute_graphql_query Execute GraphQL Query
Execute read-only GraphQL query.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
variables |
gitlab_execute_graphql_mutation Execute GraphQL Mutation
Execute a GraphQL mutation. Readonly mode disables this tool; modify mode rejects destructive mutation-root fields.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
variables |
gitlab_list_pipeline_schedules List Pipeline Schedules
List scheduled pipelines with cron, timezone, next_run_at, owner, and active state. Use gitlab_get_pipeline_schedule for variables and inputs.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id | ||
scope | string |
gitlab_get_pipeline_schedule Get Pipeline Schedule
Get one pipeline schedule with its last pipeline, inputs, and variable metadata. Variable values require GITLAB_ALLOW_CI_VARIABLE_VALUES=true and include_variable_values=true.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
include_variable_values | boolean | null | |
project_id |
gitlab_list_pipeline_schedule_pipelines List Pipeline Schedule Pipelines
List pipelines triggered by one pipeline schedule, with scope, status, sort, and date filters.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
created_after | string | null | |
created_before | string | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
scope | string | |
sort | string | |
status | string | |
updated_after | string | null | |
updated_before | string | null |
gitlab_create_pipeline_schedule Create Pipeline Schedule
Create a recurring pipeline from a cron expression. cron_timezone defaults to UTC; use a full ref such as refs/heads/main when a branch and tag share a name. inputs ([{name, value}]) need GitLab 18.1+.
| Parameter | Type | Description |
|---|---|---|
cron * | string | |
description * | string | |
ref * | string | |
active | boolean | null | |
cron_timezone | ||
inputs | ||
project_id |
gitlab_update_pipeline_schedule Update Pipeline Schedule
Change a pipeline schedule. Pass active=false to pause it. To remove an input, pass {name, destroy: true}. Take ownership first when the schedule belongs to another user.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
active | boolean | null | |
cron | ||
cron_timezone | ||
description | ||
inputs | ||
project_id | ||
ref |
gitlab_delete_pipeline_schedule Delete Pipeline Schedule
Delete a pipeline schedule and its variables permanently. Irreversible; prefer gitlab_update_pipeline_schedule with active=false to pause. Requires pipeline_schedule_id.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
project_id |
gitlab_play_pipeline_schedule Play Pipeline Schedule
Run a pipeline schedule now without changing next_run_at. GitLab rate-limits this per schedule.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
project_id |
gitlab_take_ownership_pipeline_schedule Take Ownership of Pipeline Schedule
Make the current user the owner of a pipeline schedule; scheduled pipelines then run as this user.
| Parameter | Type | Description |
|---|---|---|
pipeline_schedule_id * | string | |
project_id |
gitlab_list_pipeline_triggers List Pipeline Trigger Tokens
List pipeline trigger tokens with description, owner, and last_used. Token values are never returned.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id |
gitlab_get_pipeline_trigger Get Pipeline Trigger Token
Get one pipeline trigger token's metadata. The token value is never returned.
| Parameter | Type | Description |
|---|---|---|
trigger_id * | string | |
project_id |
gitlab_create_pipeline_trigger Create Pipeline Trigger Token
Create a pipeline trigger token for external systems. The response contains the new token once; store it securely because list, get, and update never return it.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
expires_at | string | null | |
project_id |
gitlab_update_pipeline_trigger Update Pipeline Trigger Token
Change a pipeline trigger token's description. The token value is never returned.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
trigger_id * | string | |
project_id |
gitlab_delete_pipeline_trigger Delete Pipeline Trigger Token
Delete a pipeline trigger token permanently; systems that use it can no longer start pipelines. Requires trigger_id. Recommended pre-check: gitlab_list_pipeline_triggers.
| Parameter | Type | Description |
|---|---|---|
trigger_id * | string | |
project_id |
gitlab_trigger_pipeline Trigger Pipeline With Token
Start a pipeline with a pipeline trigger token or CI/CD job token, as used by external systems and multi-project pipelines. Use gitlab_create_pipeline when acting with your own credentials. The token is sent in the request body and never echoed.
| Parameter | Type | Description |
|---|---|---|
ref * | string | |
token * | string | |
inputs | ||
project_id | ||
variables |
gitlab_create_environment Create Environment
Create a project environment with optional external URL, tier, description, Kubernetes settings, and auto-stop behavior.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
auto_stop_setting | string | |
cluster_agent_id | number | null | |
description | ||
external_url | ||
flux_resource_path | string | null | |
kubernetes_namespace | string | null | |
project_id | ||
tier | string |
gitlab_update_environment Update Environment
Update an environment's external URL, tier, description, Kubernetes settings, or auto-stop behavior. GitLab does not allow renaming environments.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | |
auto_stop_setting | string | |
cluster_agent_id | number | null | |
description | ||
external_url | ||
flux_resource_path | string | null | |
kubernetes_namespace | string | null | |
project_id | ||
tier | string |
gitlab_stop_environment Stop Environment
Stop an environment, which runs its on_stop job and typically tears down the deployed app. force=true stops it without running on_stop. Recommended pre-check: gitlab_get_environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | |
force | boolean | null | |
project_id |
gitlab_stop_stale_environments Stop Stale Environments
Stop every environment last modified or deployed before an ISO 8601 date (between 10 years and 1 week ago). GitLab skips protected environments; this stops but does not delete.
| Parameter | Type | Description |
|---|---|---|
before * | string | |
project_id |
gitlab_delete_environment Delete Environment
Delete a stopped environment permanently. Irreversible. Requires environment_id. Recommended pre-check: gitlab_get_environment, then gitlab_stop_environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | |
project_id |
gitlab_delete_review_app_environments Delete Review App Environments
Find stopped review-app environments older than before (default 30 days ago) and, with dry_run=false, schedule their deletion one week later. dry_run defaults to true and only previews.
| Parameter | Type | Description |
|---|---|---|
before | string | null | |
dry_run | boolean | |
limit | ||
project_id |
gitlab_create_deployment Create Deployment
Record a deployment of a commit to an environment, for deploys performed outside GitLab CI/CD. The environment is created if it does not exist.
| Parameter | Type | Description |
|---|---|---|
environment * | string | |
ref * | string | |
sha * | string | |
status * | string | |
tag * | boolean | |
project_id |
gitlab_update_deployment Update Deployment
Change the status of a deployment created outside GitLab CI/CD.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | |
status * | string | |
project_id |
gitlab_delete_deployment Delete Deployment
Delete a deployment record permanently. GitLab refuses running deployments and the latest deployment of an environment. Requires deployment_id. Recommended pre-check: gitlab_get_deployment.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | |
project_id |
gitlab_approve_deployment Approve or Reject Deployment
Approve or reject a blocked deployment to a protected environment. Approving can let a production deploy proceed. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | |
status * | string | |
comment | ||
project_id | ||
represented_as | string | null |
gitlab_list_deployment_merge_requests List Deployment Merge Requests
List merge requests shipped with a deployment, for release notes and change tracking. Supports state, ordering, and pagination.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | |
order_by | string | |
page | number | null | |
per_page | number | null | |
project_id | ||
sort | string | |
state | string |
gitlab_get_pipeline_test_report Get Pipeline Test Report
Get the unit test report for a pipeline: totals plus each suite's test cases with status, timing, and stack traces. Pass test_case_status (for example ["failed","error"]) to keep only matching cases.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id | ||
test_case_status |
gitlab_get_pipeline_test_report_summary Get Pipeline Test Report Summary
Get per-suite test counts and totals for a pipeline without individual test cases. Use gitlab_get_pipeline_test_report for failures.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id |
gitlab_get_pipeline_variables Get Pipeline Variables
List the variables a pipeline was started with. Values require GITLAB_ALLOW_CI_VARIABLE_VALUES=true and include_value=true.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
include_value | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id |
gitlab_update_pipeline_metadata Update Pipeline Metadata
Rename a pipeline. Only the pipeline name can be changed.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
pipeline_id * | string | |
project_id |
gitlab_delete_pipeline Delete Pipeline
Delete a pipeline and its job logs, artifacts, and test reports permanently. Irreversible. Requires pipeline_id. Recommended pre-check: gitlab_get_pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
project_id |
gitlab_wait_for_pipeline Wait for Pipeline
Poll a pipeline until it reaches success, failed, canceled, skipped, or manual, or until timeout_seconds (default 60, max 300) elapses. Returns completed=false with the last status on timeout; call again to keep waiting.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | |
poll_interval_seconds | integer | |
project_id | ||
timeout_seconds | integer |
gitlab_wait_for_job Wait for Job
Poll a job until it reaches success, failed, canceled, skipped, or manual, or until timeout_seconds (default 60, max 300) elapses. Returns completed=false with the last status on timeout; call again to keep waiting.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
poll_interval_seconds | integer | |
project_id | ||
timeout_seconds | integer |
gitlab_erase_pipeline_job Erase Pipeline Job
Erase a finished job's log and artifacts permanently; the job record remains. Irreversible. Requires job_id. Recommended pre-check: gitlab_get_pipeline_job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
project_id |
gitlab_list_group_milestones List Group Milestones
List milestones defined on a group. Supports iids, state, title, search, ancestor/descendant inclusion, and date filters.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
containing_date | string | null | |
end_date | string | null | |
iids | ||
include_ancestors | boolean | null | |
include_descendants | boolean | null | |
page | number | null | |
per_page | number | null | |
search | string | null | |
search_title | string | null | |
start_date | string | null | |
state | string | |
title | string | null | |
updated_after | string | null | |
updated_before | string | null |
gitlab_get_group_milestone Get Group Milestone
Get one group milestone by its ID.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string |
gitlab_create_group_milestone Create Group Milestone
Create a group milestone that projects and subgroups in the group can use. Dates use YYYY-MM-DD.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
title * | string | |
description | string | null | |
due_date | string | null | |
start_date | string | null |
gitlab_update_group_milestone Update Group Milestone
Update a group milestone's title, description, dates, or state (state_event close or activate).
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string | |
description | string | null | |
due_date | string | null | |
start_date | string | null | |
state_event | string | |
title |
gitlab_delete_group_milestone Delete Group Milestone
Delete a group milestone permanently; issues and merge requests lose the milestone. Irreversible. Requires group_id and milestone_id. Recommended pre-check: gitlab_get_group_milestone.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string |
gitlab_list_group_milestone_issues List Group Milestone Issues
List issues assigned to a group milestone across the group's projects.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string | |
page | number | null | |
per_page | number | null |
gitlab_list_group_milestone_merge_requests List Group Milestone Merge Requests
List merge requests assigned to a group milestone across the group's projects.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string | |
page | number | null | |
per_page | number | null |
gitlab_get_group_milestone_burndown_events Get Group Milestone Burndown Events
Get burndown chart events for a group milestone. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
milestone_id * | string | |
page | number | null | |
per_page | number | null |
gitlab_list_project_iterations List Project Iterations
List iterations available to a project (those of its group hierarchy). Supports state, search, search_in, include_ancestors, and date filters. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
include_ancestors | boolean | null | |
page | number | null | |
per_page | number | null | |
project_id | ||
search | string | null | |
search_in | ||
state | string | |
updated_after | string | null | |
updated_before | string | null |
gitlab_create_group_iteration Create Group Iteration
Create an iteration in a group. Recent GitLab versions require iterations_cadence_id of a manual (non-automatic) cadence. Dates use YYYY-MM-DD. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
description | string | null | |
due_date | ||
iterations_cadence_id | ||
start_date | ||
title |
gitlab_update_group_iteration Update Group Iteration
Update a group iteration's title, description, or dates. iteration_id is the numeric ID from the iteration list or its global ID. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
iteration_id * | string | |
description | string | null | |
due_date | ||
start_date | ||
title |
gitlab_delete_group_iteration Delete Group Iteration
Delete a group iteration permanently; issues lose the iteration. Irreversible. Requires group_id and iteration_id. Recommended pre-check: gitlab_list_group_iterations. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
iteration_id * | string |
gitlab_list_group_iteration_cadences List Group Iteration Cadences
List a group's iteration cadences (GraphQL; no REST endpoint exists). Filters: active, automatic, title, duration_in_weeks, include_ancestor_groups. Returned IDs are cadence global IDs. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
active | boolean | null | |
automatic | boolean | null | |
duration_in_weeks | ||
include_ancestor_groups | boolean | null | |
title | string | null |
gitlab_create_group_iteration_cadence Create Group Iteration Cadence
Create an iteration cadence. automatic cadences schedule iterations from start_date, duration_in_weeks, and iterations_in_advance; manual cadences let you create iterations yourself. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
active * | boolean | |
automatic * | boolean | |
group_id * | string | |
title * | string | |
description | string | null | |
duration_in_weeks | ||
iterations_in_advance | ||
roll_over | boolean | null | |
start_date |
gitlab_update_group_iteration_cadence Update Group Iteration Cadence
Update an iteration cadence of the group. iteration_cadence_id is a numeric ID or cadence global ID from gitlab_list_group_iteration_cadences. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
iteration_cadence_id * | string | |
active | boolean | null | |
automatic | boolean | null | |
description | string | null | |
duration_in_weeks | ||
iterations_in_advance | ||
roll_over | boolean | null | |
start_date | ||
title |
gitlab_delete_group_iteration_cadence Delete Group Iteration Cadence
Delete an iteration cadence and its iterations permanently. Irreversible. Requires group_id and iteration_cadence_id. Recommended pre-check: gitlab_list_group_iteration_cadences. Premium/Ultimate.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | |
iteration_cadence_id * | string |
gitlab_list_project_snippets List Project Snippets
List a project's snippets with title, visibility, author, and file names.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id |
gitlab_get_project_snippet Get Project Snippet
Get a project snippet's metadata. Set include_content=true to also return the raw content of up to 10 files; ref overrides the snippet revision.
| Parameter | Type | Description |
|---|---|---|
snippet_id * | string | |
include_content | boolean | null | |
project_id | ||
ref | string | null |
gitlab_create_project_snippet Create Project Snippet
Create a project snippet with 1 to 10 files. visibility defaults to the project setting; public snippets are visible to anyone who can see the project.
| Parameter | Type | Description |
|---|---|---|
files * | array | |
title * | string | |
description | string | null | |
project_id | ||
visibility | string |
gitlab_update_project_snippet Update Project Snippet
Update a project snippet's title, description, visibility, or files. Each file change needs action create, update, delete, or move (move requires previous_path).
| Parameter | Type | Description |
|---|---|---|
snippet_id * | string | |
description | string | null | |
files | ||
project_id | ||
title | ||
visibility | string |
gitlab_delete_project_snippet Delete Project Snippet
Delete a project snippet and all of its files permanently. Irreversible. Requires snippet_id. Recommended pre-check: gitlab_get_project_snippet.
| Parameter | Type | Description |
|---|---|---|
snippet_id * | string | |
project_id |
gitlab_list_protected_tags List Protected Tags
List protected tag rules (names or wildcards such as v*) with their create access levels.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
per_page | number | null | |
project_id |
gitlab_get_protected_tag Get Protected Tag
Get one protected tag rule by tag name or wildcard.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
project_id |
gitlab_protect_tag Protect Tag
Protect a tag name or wildcard (for example v*) so only allowed roles can create it and protected CI/CD variables reach its pipelines. create_access_level: 0 no one, 30 Developer, 40 Maintainer (default), 60 Admin.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
allowed_to_create | ||
create_access_level | ||
project_id |
gitlab_unprotect_tag Unprotect Tag
Remove protection from a tag name or wildcard, allowing any developer to create matching tags. Requires name. Recommended pre-check: gitlab_get_protected_tag.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
project_id |
gitlab_list_project_runners List Project Runners
List runners a project can use, including group and instance runners. Supports type, status, paused, and tag_list filters. Use gitlab_get_runner for tags and settings of one runner.
| Parameter | Type | Description |
|---|---|---|
page | number | null | |
paused | boolean | null | |
per_page | number | null | |
project_id | ||
status | string | |
tag_list | ||
type | string |
gitlab_get_runner Get Runner
Get one runner's tag_list, run_untagged, locked, access_level, status, and version. The runner must be available to project_id; runner authentication tokens are never returned.
| Parameter | Type | Description |
|---|---|---|
runner_id * | string | |
project_id |
gitlab_list_project_vulnerabilities List Project Vulnerabilities
List a project's vulnerabilities with severity, state, scanner, identifiers (CVE/CWE), and location. Filter by state, severity, and report_type; page with first and the returned page_info.end_cursor as after. Ultimate.
| Parameter | Type | Description |
|---|---|---|
after | string | null | |
first | integer | |
project_id | ||
report_type | ||
severity | ||
state |
gitlab_get_vulnerability Get Vulnerability
Get one vulnerability with its description, identifiers, links, and location. The vulnerability must belong to project_id. Ultimate.
| Parameter | Type | Description |
|---|---|---|
vulnerability_id * | string | |
project_id |
gitlab_confirm_vulnerability Confirm Vulnerability
Mark a vulnerability of project_id as confirmed, optionally with a comment. Ultimate.
| Parameter | Type | Description |
|---|---|---|
vulnerability_id * | string | |
comment | ||
project_id |
gitlab_dismiss_vulnerability Dismiss Vulnerability
Dismiss a vulnerability of project_id with a reason (acceptable_risk, false_positive, used_in_tests, mitigating_control, not_applicable) and an optional comment. Ultimate.
| Parameter | Type | Description |
|---|---|---|
reason * | string | |
vulnerability_id * | string | |
comment | ||
project_id |
gitlab_rebase_merge_request Rebase Merge Request
Rebase a merge request's source branch onto its target (GitLab force-pushes the source branch). With wait=true (default) it polls up to timeout_seconds (default 60, max 300) and reports previous_sha, sha, head_changed, and merge_error. Use gitlab_get_merge_request_conflicts for conflicts.
| Parameter | Type | Description |
|---|---|---|
merge_request_iid * | string | |
project_id | ||
skip_ci | boolean | null | |
timeout_seconds | integer | |
wait | boolean | null |