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 with a Free-tier GitLab token. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: higher tiers expose more actions, and administration domains only appear to tokens allowed to use them.
template.ci_yml_getGet CI Yml Templateread-onlyGet 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)template.ci_yml_listList CI Yml Templatesread-onlyList 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
template.dockerfile_getGet Dockerfile Templateread-onlyGet 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)template.dockerfile_listList Dockerfile Templatesread-onlyList 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
template.gitignore_getGet Gitignore Templateread-onlyGet 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)template.gitignore_listList Gitignore Templatesread-onlyList 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
template.license_getGet License Templateread-onlyGet 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)template.license_listList License Templatesread-onlyList 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
template.lintCI Lintread-onlyValidate 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)template.lint_projectCI Lint Projectread-onlyValidate 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)template.project_template_getGet Project Templateread-onlyReturns: 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),template_type (string)template.project_template_listList Project Templatesread-onlyList 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),template_type (string)