agentuity-cli-cloud-sandbox-snapshot-tag
添加或更新快照上的标签。需要身份验证。用于Agentuity云平台操作
📖 中文导读:添加或更新快照上的标签。需要身份验证。用于Agentuity云平台操作 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " [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-idor default org)
Usage
agentuity cloud sandbox snapshot tag <snapshotId> [tag] [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<snapshotId> |
string | Yes | - |
<tag> |
string | No | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--clear |
boolean | Yes | - | Remove the tag from the snapshot |
Examples
Tag a snapshot as "latest":
bunx @agentuity/cli cloud sandbox snapshot tag snp_abc123 latest
Remove a tag from a snapshot:
bunx @agentuity/cli cloud sandbox snapshot tag snp_abc123 --clear
Output
Returns JSON object:
{
"snapshotId": "string",
"tag": "unknown"
}
| Field | Type | Description |
|---|---|---|
snapshotId |
string | Snapshot ID |
tag |
unknown | New tag |