Code Platform

# GitLab Connector

Connect to GitLab to manage projects, issues, MRs, and pipelines.

$pip install "toolsconnector[gitlab]"
21
Actions
Code Platform
Category
Free
Apache 2.0

## All 21 Actions

Action | Description | Parameters | Returns
--- | --- | --- | ---
`create_branch ⚠` | Create a new branch | project_id, branch_name, ref | `GitLabBranch`
`create_comment ⚠` | Create a comment on an issue | project_id, issue_iid, body | `GitLabComment`
`create_issue ⚠` | Create an issue in a GitLab project | project_id, title [description, labels] | `GitLabIssue`
`create_label ⚠` | Create a label in a project | project_id, name, color [description] | `GitLabLabel`
`create_merge_request ⚠` | Create a merge request in a GitLab project | project_id, source_branch, target_branch, title [description] | `MergeRequest`
`create_milestone ⚠` | Create a milestone in a project | project_id, title [description, due_date, start_date] | `GitLabMilestone`
`delete_branch ⚠` | Delete a branch from a project | project_id, branch_name | `bool`
`get_merge_request` | Get a single merge request by IID | project_id, mr_iid | `MergeRequest`
`get_pipeline` | Get a single pipeline by ID | project_id, pipeline_id | `Pipeline`
`get_project` | Get a single project by ID | project_id | `Project`
`list_branches` | List branches for a project | project_id [search, limit, page] | `list`
`list_issues` | List issues for a GitLab project | project_id [state, labels, limit, page] | `PaginatedList[GitLabIssue]`
`list_jobs` | List jobs for a pipeline | project_id, pipeline_id | `list`
`list_labels` | List labels for a project | project_id [search, limit, page] | `list`
`list_merge_requests` | List merge requests for a GitLab project | project_id [state, limit, page] | `PaginatedList[MergeRequest]`
`list_milestones` | List milestones for a project | project_id [state, limit, page] | `list`
`list_pipelines` | List CI/CD pipelines for a GitLab project | project_id [status, limit, page] | `PaginatedList[Pipeline]`
`list_project_members` | List project members | project_id [query, limit, page] | `PaginatedList[GitLabMember]`
`list_projects` | List GitLab projects | [owned, search, limit, page] | `PaginatedList[Project]`
`list_tags` | List tags for a project | project_id [search, limit, page] | `list`
`retry_pipeline ⚠` | Retry a failed pipeline | project_id, pipeline_id | `Pipeline`

Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing