Action domain
template
Every action this domain exposes through gitlab_execute_action, from the gitlab://tools manifest. Each entry folds out to its full upstream description and required parameters.
12 · actions0 · destructive12 · read-only
Counted against gitlab.com, which is the only host this endpoint talks to, with a token it resolves to the Ultimate tier: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: a Free token sees fewer actions, a member of a group on a paid plan sees that plan's, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project counts 872 operations on Community Edition and up to 1,099 on GitLab.com's top tier, while this deployment publishes 977 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.
Each entry also says what a GitLab fine-grained personal access token needs to run it, as GitLab 19.5.0 declares it: every permission of one line, at one of the boundaries named. Where there are alternatives, any one is enough. What follows "Some calls also need" is needed only by the calls that send that request, and the parts of the answer GitLab serves empty to such a token are listed apart.
Get CI Yml Templateread-onlytemplate.ci_yml_getGet a single GitLab CI/CD pipeline YAML template by key. Returns: the template name and full YAML content to copy into a .gitlab-ci.yml file. See also:
template.ci_yml_list,template.lint,repository.file_create.Required parameters:
key (string)Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
List CI Yml Templatesread-onlytemplate.ci_yml_listList the GitLab-provided CI/CD pipeline YAML templates. Returns: available templates with key and name, plus pagination metadata. See also:
template.ci_yml_get,template.lint,repository.file_create.Required parameters: No required parameters
Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
Get Dockerfile Templateread-onlytemplate.dockerfile_getGet a single Dockerfile template by key. Returns: the template name and full Dockerfile content ready to commit as a project's Dockerfile. See also:
template.dockerfile_list,template.gitignore_get.Required parameters:
key (string)Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
List Dockerfile Templatesread-onlytemplate.dockerfile_listList available Dockerfile templates with pagination and sorting. Returns: matching templates with key and name plus pagination metadata. See also:
template.dockerfile_get,template.gitignore_list.Required parameters: No required parameters
Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
Get Gitignore Templateread-onlytemplate.gitignore_getGet one .gitignore template by key (e.g. Go, Python, Node). Returns: the template's name and full file content ready to copy into .gitignore. See also:
template.gitignore_list,repository.file_create.Required parameters:
key (string)Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
List Gitignore Templatesread-onlytemplate.gitignore_listList available .gitignore templates with order_by, sort, and offset or keyset pagination. Returns: each template's key and name, plus pagination metadata. See also:
template.gitignore_get,repository.file_create.Required parameters: No required parameters
Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
Get License Templateread-onlytemplate.license_getGet a single license template by key, optionally substituting project and fullname placeholders. Returns: the license's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and rendered content. See also:
template.license_list,repository.file_create.Required parameters:
key (string)Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
List License Templatesread-onlytemplate.license_listList available license templates with an optional popular filter, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and content, with pagination metadata. See also:
template.license_get,repository.file_create.Required parameters: No required parameters
Fine-grained token: not judged by the grant (GitLab authenticates this request another way)
CI Lintread-onlytemplate.lintValidate inline .gitlab-ci.yml content within a project namespace. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also:
template.lint_project,pipeline.create,ci_catalog.list.Required parameters:
content (string),project_id (string|integer)Fine-grained token:
CI Config: Validateat project
CI Lint Projectread-onlytemplate.lint_projectValidate a project's committed .gitlab-ci.yml at a branch or tag. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also:
template.lint,pipeline.create,repository.file_get.Required parameters:
project_id (string|integer)Fine-grained token:
CI Config: Readat project
Get Project Templateread-onlytemplate.project_template_getReturns: one project template's full content by template_type and key. See also:
template.project_template_list,project.create.Required parameters:
key (string),project_id (string|integer),template_type (string)Fine-grained token:
Template: Readat project
List Project Templatesread-onlytemplate.project_template_listList project templates of a given template_type with optional id/type filters, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, popularity, and source/HTML URLs. See also:
template.project_template_get,project.create.Required parameters:
project_id (string|integer),template_type (string)Fine-grained token:
Template: Readat project