AgentSkillsCN

agentuity-cli-cloud-sandbox-snapshot-tag

添加或更新快照上的标签。需要认证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-sandbox-snapshot-tag
description: Add or update a tag on a snapshot. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.2"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<snapshotId> [tag]"
metadata:
  command: "agentuity cloud sandbox snapshot tag"
  tags: "slow requires-auth"

Cloud Sandbox Snapshot Tag

Add or update a tag on a snapshot

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

bash
agentuity cloud sandbox snapshot tag <snapshotId> [tag] [options]

Arguments

ArgumentTypeRequiredDescription
<snapshotId>stringYes-
<tag>stringNo-

Options

OptionTypeRequiredDefaultDescription
--clearbooleanYes-Remove the tag from the snapshot

Examples

Tag a snapshot as "latest":

bash
bunx @agentuity/cli cloud sandbox snapshot tag snp_abc123 latest

Remove a tag from a snapshot:

bash
bunx @agentuity/cli cloud sandbox snapshot tag snp_abc123 --clear

Output

Returns JSON object:

json
{
  "snapshotId": "string",
  "tag": "unknown"
}
FieldTypeDescription
snapshotIdstringSnapshot ID
tagunknownNew tag