agentuity-cli-cloud-keyvalue-get

agentuity 的头像作者 agentuity

从键值存储中获取值。需要身份验证。用于Agentuity云平台操作

📖 中文导读:从键值存储中获取值。需要身份验证。用于Agentuity云平台操作 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: agentuity-cli-cloud-keyvalue-get description: Get a value from the keyvalue storage. Requires authentication. Use for Agentuity cloud platform operations version: "0.0.104" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " " metadata: command: "agentuity cloud keyvalue get" tags: "read-only fast requires-auth"

Cloud Keyvalue Get

Get a value from the keyvalue storage

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

agentuity cloud keyvalue get <namespace> <key>

Arguments

Argument Type Required Description
<namespace> string Yes -
<key> string Yes -

Examples

Get user data:

bunx @agentuity/cli kv get production user:123

Get cached session:

bunx @agentuity/cli kv get cache session:abc

Get homepage cache:

bunx @agentuity/cli kv get staging cache:homepage

Output

Returns JSON object:

{
  "exists": "boolean",
  "data": "unknown",
  "contentType": "string"
}
Field Type Description
exists boolean Whether the key exists
data unknown Value data (string or binary)
contentType string Content type