https://gitlab.com/api/v4
)Tool | Short Description |
---|---|
create_branch | Create a new branch in a GitLab project |
create_issue | Create a new issue in a GitLab project |
create_merge_request | Create a new merge request in a GitLab project |
create_or_update_file | Create or update a single file in a GitLab project |
create_repository | Create a new GitLab project |
fork_repository | Fork a GitLab project to your account or specified namespace |
get_file_contents | Get the contents of a file or directory from a project |
push_files | Push multiple files to a project in a single commit |
search_repositories | Search for GitLab projects |
create_branch
branch
(string
): Name for the new branchproject_id
(string
): Project ID or URL-encoded pathref
(string
, optional): Source branch/commit for new branchcreate_issue
project_id
(string
): Project ID or URL-encoded pathtitle
(string
): Issue titleassignee_ids
(array
, optional): Array of user IDs to assigndescription
(string
, optional): Issue descriptionlabels
(array
, optional): Array of label namesmilestone_id
(number
, optional): Milestone ID to assigncreate_merge_request
project_id
(string
): Project ID or URL-encoded pathsource_branch
(string
): Branch with changestarget_branch
(string
): Branch to merge intotitle
(string
): Merge request titleallow_collaboration
(boolean
, optional): Allow commits from upstream membersdescription
(string
, optional): Merge request descriptiondraft
(boolean
, optional): Create as draft merge requestcreate_or_update_file
branch
(string
): Branch to create/update the file incommit_message
(string
): Commit messagecontent
(string
): File contentfile_path
(string
): Path to create/update the fileproject_id
(string
): Project ID or URL-encoded pathprevious_path
(string
, optional): Path of the file to move/renamecreate_repository
name
(string
): Repository namedescription
(string
, optional): Repository descriptioninitialize_with_readme
(boolean
, optional): Initialize with README.mdvisibility
(string
, optional): Repository visibility levelfork_repository
project_id
(string
): Project ID or URL-encoded pathnamespace
(string
, optional): Namespace to fork to (full path)get_file_contents
file_path
(string
): Path to the file/directoryproject_id
(string
): Project ID or URL-encoded pathref
(string
, optional): Branch/tag/commitpush_files
branch
(string
): Branch to push tocommit_message
(string
): Commit messagefiles
(array
): Array of files to pushproject_id
(string
): Project ID or URL-encoded pathsearch_repositories
search
(string
): Search querypage
(number
, optional): Page number (default: 1)per_page
(number
, optional): Results per page (default: 20)