Action domain
package
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.
30 · actions8 · 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 980 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.6.1 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.
Package Deletedestructivepackage.deleteDelete a package permanently. Returns: a success confirmation naming the deleted package and project. See also:
package.list,package.file_delete.Required parameters:
package_id (string|integer),project_id (string|integer)Fine-grained token:
Package: Deleteat project
Package Downloadpackage.downloadDownload a single file from the Generic Package Registry to a local path. Returns: the local output path, byte size, and SHA256 checksum. See also:
package.file_list,package.list.Required parameters:
file_name (string),output_path (string),package_name (string),package_version (string),project_id (string|integer)Fine-grained token:
Package: Readat project
Package File Deletedestructivepackage.file_deleteDelete a single file from a package permanently. Returns: a success confirmation naming the deleted file, package, and project. See also:
package.file_list,package.delete.Required parameters:
package_file_id (string|integer),package_id (string|integer),project_id (string|integer)Fine-grained token:
Package: Deleteat project
Package File Listread-onlypackage.file_listList the files within a single package. Returns: package files with name, size, checksums, creation time, the pipelines that built each, and pagination metadata. See also:
package.download,package.file_delete,package.list.Required parameters:
package_id (string|integer),project_id (string|integer)Fine-grained token:
Package: Readat project
Package Getread-onlypackage.getGet one package of a project with its other versions. Returns: the package's type, status, creator, pipeline metadata, tags, _links, and its other versions with their tags and the pipeline that built each. See also:
package.list,package.file_list,package.delete.Required parameters:
package_id (string|integer),project_id (string|integer)Fine-grained token:
Package: Readat project
List Group Packagesread-onlypackage.group_listList packages across a group and its descendant projects with optional filters and ordering. Returns: matching packages with type, status, owning project id/path, pipeline metadata, tags, _links, and pagination metadata. See also:
package.list,package.get,package.file_list,package.delete.Required parameters:
group_id (string|integer)Fine-grained token:
Package: Readat group
Package Listread-onlypackage.listList packages in a project with optional filters and ordering. Returns: matching packages with type, status, pipeline metadata, tags, _links, and pagination metadata. See also:
package.get,package.file_list,package.publish,package.delete.Required parameters:
project_id (string|integer)Fine-grained token:
Package: Readat project
Create Package Protection Rulepackage.protection_rule_createCreate a package protection rule for a project. Returns: the new rule's id, project id, package name pattern, package type, and minimum push/delete access levels. See also:
package.protection_rule_list,package.protection_rule_update,package.protection_rule_delete.Required parameters:
package_name_pattern (string),package_type (string),project_id (string|integer)Fine-grained token:
Package: Createat project
Delete Package Protection Ruledestructivepackage.protection_rule_deleteDelete a package protection rule from a project by its id (cannot be undone). Returns: a success confirmation. See also:
package.protection_rule_list,package.protection_rule_create.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Package: Deleteat project
List Package Protection Rulesread-onlypackage.protection_rule_listList package protection rules for a project. Returns: each rule's id, project id, package name pattern, package type, and minimum push/delete access levels, with pagination metadata. For container image protection use
package.registry_rule_list. See also:package.protection_rule_create,package.protection_rule_update.Required parameters:
project_id (string|integer)Fine-grained token:
Package: Readat project
Update Package Protection Rulepackage.protection_rule_updateUpdate an existing package protection rule by its id. Returns: the updated rule's id, project id, package name pattern, package type, and minimum push/delete access levels. See also:
package.protection_rule_list,package.protection_rule_create,package.protection_rule_delete.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Package: Updateat project
Package Publishpackage.publishPublish a single file to the Generic Package Registry. Returns: the published file's id, package id, name, size, checksums (md5/sha1/sha256), and download URL. See also:
package.publish_and_link,package.publish_directory,package.list.Required parameters:
file_name (string),package_name (string),package_version (string),project_id (string|integer)Fine-grained token:
Package: Createat project
Package Publish And Linkpackage.publish_and_linkPublish a file to the Generic Package Registry and link it to a release in one call. Returns: the published file metadata and the created release asset link. See also:
package.publish,package.publish_directory,release.get.Required parameters:
file_name (string),package_name (string),package_version (string),project_id (string|integer),tag_name (string)Fine-grained token:
Package: CreateandRelease Link: Createat project
Package Publish Directorypackage.publish_directoryPublish every regular file from a local directory to the Generic Package Registry. Returns: total files, total bytes, per-file results, and any per-file errors. See also:
package.publish,package.publish_and_link,package.list.Required parameters:
directory_path (string),package_name (string),package_version (string),project_id (string|integer)Fine-grained token:
Package: Createat project
Registry Delete Repositorydestructivepackage.registry_deleteDelete one container registry repository (cannot be undone). Returns: a success confirmation. See also:
package.registry_list_project,package.registry_get,package.registry_tag_delete.Required parameters:
project_id (string|integer),repository_id (integer)Fine-grained token:
Container Repository: Deleteat project
Registry Get Repositoryread-onlypackage.registry_getGet details of one container registry repository by its id. Returns: the repository's name, path, location, status, tag count, and optional tags. See also:
package.registry_list_project,package.registry_tag_list,package.registry_delete.Required parameters:
repository_id (integer)Fine-grained token:
Container Repository: Readat project
Registry List Groupread-onlypackage.registry_list_groupList container registry image repositories across a group. Returns: each repository's id, name, path, location, status, tag count, and pagination metadata. See also:
package.registry_list_project,package.registry_get.Required parameters:
group_id (string|integer)Fine-grained token:
Container Repository: Readat group
Registry List Projectread-onlypackage.registry_list_projectList container registry image repositories in a project. Returns: each repository's id, name, path, location, status, tag count, optional tags, and pagination metadata. See also:
package.registry_get,package.registry_tag_list,package.registry_list_group.Required parameters:
project_id (string|integer)Fine-grained token:
Container Repository: Readat project
Registry Protection Createpackage.registry_rule_createCreate a container registry protection rule for a project, with a repository path pattern that starts with the project's full path and at least one of the two minimum access levels.
Required parameters:
project_id (string|integer),repository_path_pattern (string)At least one of:
minimum_access_level_for_push (string)orminimum_access_level_for_delete (string)Fine-grained token:
Container Repository Protection Rule: Createat project
Registry Protection Deletedestructivepackage.registry_rule_deleteDelete a container registry repository-path protection rule (cannot be undone). Returns: a success confirmation. See also:
package.registry_rule_list,package.registry_rule_create.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Container Repository Protection Rule: Deleteat project
Registry Protection Listread-onlypackage.registry_rule_listList container registry repository-path protection rules for a project. Returns: each rule's path pattern and minimum push/delete access levels. For tag-level protection use
package.registry_tag_rule_list. See also:package.registry_rule_create,package.registry_tag_rule_list.Required parameters:
project_id (string|integer)Fine-grained token:
Container Repository Protection Rule: Readat project
Registry Protection Updatepackage.registry_rule_updateUpdate a container registry repository-path protection rule. Returns: the updated rule with its path pattern and minimum push/delete access levels. See also:
package.registry_rule_list,package.registry_rule_delete,package.registry_rule_create.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Container Repository Protection Rule: Updateat project
Registry Delete Tagdestructivepackage.registry_tag_deleteDelete one container registry tag (cannot be undone). Returns: a success confirmation. See also:
package.registry_tag_list,package.registry_tag_delete_bulk,package.registry_tag_get.Required parameters:
project_id (string|integer),repository_id (integer),tag_name (string)Fine-grained token:
Container Repository: Deleteat project
Registry Delete Tags Bulkdestructivepackage.registry_tag_delete_bulkDelete container registry tags in bulk by name patterns and age (cannot be undone). Returns: a success confirmation. Deletion runs asynchronously. See also:
package.registry_tag_list,package.registry_tag_delete.Required parameters:
project_id (string|integer),repository_id (integer)Fine-grained token:
Container Repository: Deleteat project
Registry Get Tagread-onlypackage.registry_tag_getGet metadata of one container registry tag. Returns: the tag's name, path, location, revision, digest, total size, and creation time. See also:
package.registry_tag_list,package.registry_tag_delete.Required parameters:
project_id (string|integer),repository_id (integer),tag_name (string)Fine-grained token:
Container Repository: Readat project
Registry List Tagsread-onlypackage.registry_tag_listList tags in one container registry repository.
Required parameters:
project_id (string|integer),repository_id (integer)Fine-grained token:
Container Repository: Readat project
Registry Tag Protection Createpackage.registry_tag_rule_createCreate a container registry tag protection rule. Returns: the created rule. Both minimum access levels (push and delete) are required. See also:
package.registry_tag_rule_list,package.registry_tag_rule_update,package.registry_rule_create.Required parameters:
minimum_access_level_for_delete (string),minimum_access_level_for_push (string),project_id (string|integer),tag_name_pattern (string)Fine-grained token:
Container Registry Protection Tag Rule: Createat project
Registry Tag Protection Deletedestructivepackage.registry_tag_rule_deleteDelete a container registry tag protection rule (cannot be undone). Returns: a success confirmation. See also:
package.registry_tag_rule_list,package.registry_tag_rule_create.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Container Registry Protection Tag Rule: Deleteat project
Registry Tag Protection Listread-onlypackage.registry_tag_rule_listList container registry tag protection rules for a project. Returns: each rule's tag name pattern and minimum push/delete access levels (empty = immutable). For repository-path protection use
package.registry_rule_list. See also:package.registry_tag_rule_create,package.registry_tag_list.Required parameters:
project_id (string|integer)Fine-grained token:
Container Registry Protection Tag Rule: Readat project
Registry Tag Protection Updatepackage.registry_tag_rule_updateUpdate a container registry tag protection rule. Returns: the updated rule. See also:
package.registry_tag_rule_list,package.registry_tag_rule_delete.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Container Registry Protection Tag Rule: Updateat project