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.

29 · actions8 · 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.

Back to the server card

  1. package.deletePackage Deletedestructive

    Delete 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), project_id (string)

  2. package.downloadPackage Downloadread-only

    Download 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)

  3. package.file_deletePackage File Deletedestructive

    Delete 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), package_id (string), project_id (string)

  4. package.file_listPackage File Listread-only

    List the files within a single package. Returns: package files with name, size, checksums, creation time, and pagination metadata. See also: package.download, package.file_delete, package.list.

    Required parameters: package_id (string), project_id (string)

  5. package.group_listList Group Packagesread-only

    List 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.file_list, package.delete.

    Required parameters: group_id (string)

  6. package.listPackage Listread-only

    List 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.file_list, package.publish, package.delete.

    Required parameters: project_id (string)

  7. package.protection_rule_createCreate Package Protection Rule

    Create 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)

  8. package.protection_rule_deleteDelete Package Protection Ruledestructive

    Delete 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), rule_id (integer)

  9. package.protection_rule_listList Package Protection Rulesread-only

    List 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 gitlab_registry_protection_list. See also: package.protection_rule_create, package.protection_rule_update.

    Required parameters: project_id (string)

  10. package.protection_rule_updateUpdate Package Protection Rule

    Update 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), rule_id (integer)

  11. package.publishPackage Publish

    Publish 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)

  12. package.publish_directoryPackage Publish Directory

    Publish 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)

  13. package.registry_deleteRegistry Delete Repositorydestructive

    Delete 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), repository_id (integer)

  14. package.registry_getRegistry Get Repositoryread-only

    Get 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)

  15. package.registry_list_groupRegistry List Groupread-only

    List 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)

  16. package.registry_list_projectRegistry List Projectread-only

    List 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)

  17. package.registry_rule_createRegistry Protection Create

    Create a container registry protection rule for a project.

    Required parameters: project_id (string), repository_path_pattern (string)

  18. package.registry_rule_deleteRegistry Protection Deletedestructive

    Delete 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), rule_id (integer)

  19. package.registry_rule_listRegistry Protection Listread-only

    List 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 gitlab_registry_tag_protection_list. See also: package.registry_rule_create, package.registry_tag_rule_list.

    Required parameters: project_id (string)

  20. package.registry_rule_updateRegistry Protection Update

    Update 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), rule_id (integer)

  21. package.registry_tag_deleteRegistry Delete Tagdestructive

    Delete 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), repository_id (integer), tag_name (string)

  22. package.registry_tag_delete_bulkRegistry Delete Tags Bulkdestructive

    Delete 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), repository_id (integer)

  23. package.registry_tag_getRegistry Get Tagread-only

    Get 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), repository_id (integer), tag_name (string)

  24. package.registry_tag_listRegistry List Tagsread-only

    List tags in one container registry repository.

    Required parameters: project_id (string), repository_id (integer)

  25. package.registry_tag_rule_createRegistry Tag Protection Create

    Create a container registry tag protection rule. Returns: the created rule. Omit both minimum access levels to make matching tags immutable. See also: package.registry_tag_rule_list, package.registry_tag_rule_update, package.registry_rule_create.

    Required parameters: project_id (string), tag_name_pattern (string)

  26. package.registry_tag_rule_deleteRegistry Tag Protection Deletedestructive

    Delete 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), rule_id (integer)

  27. package.registry_tag_rule_listRegistry Tag Protection Listread-only

    List 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 gitlab_registry_protection_list. See also: package.registry_tag_rule_create, package.registry_tag_list.

    Required parameters: project_id (string)

  28. package.registry_tag_rule_updateRegistry Tag Protection Update

    Update 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), rule_id (integer)