Publish a message to a queue. Requires authentication. Use for Agentuity cloud platform operations
Publish a message to a queue
agentuity auth loginagentuity cloud queue publish <queue_name> <payload> [options]
| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| <queue_name> | string | Yes | - |
| <payload> | string | Yes | - |
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| --metadata | string | Yes | - | Message metadata as JSON |
| --partitionKey | string | Yes | - | Partition key for ordering |
| --idempotencyKey | string | Yes | - | Idempotency key to prevent duplicates |
| --ttl | number | Yes | - | Message TTL in seconds |
Publish a JSON message:
bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}'
Publish with metadata:
bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}' --metadata '{"priority":"high"}'
Publish with 1h TTL:
bunx @agentuity/cli cloud queue publish my-queue "hello" --ttl 3600
Returns JSON object:
{
"id": "string",
"queue_id": "string",
"offset": "number",
"payload": "unknown",
"size": "number",
"metadata": "unknown",
"state": "string",
"idempotency_key": "unknown",
"partition_key": "unknown",
"ttl_seconds": "unknown",
"delivery_attempts": "number",
"max_retries": "number",
"published_at": "string",
"expires_at": "unknown",
"delivered_at": "unknown",
"acknowledged_at": "unknown",
"created_at": "string",
"updated_at": "string"
}
| Field | Type | Description |
|-------|------|-------------|
| id | string | - |
| queue_id | string | - |
| offset | number | - |
| payload | unknown | - |
| size | number | - |
| metadata | unknown | - |
| state | string | - |
| idempotency_key | unknown | - |
| partition_key | unknown | - |
| ttl_seconds | unknown | - |
| delivery_attempts | number | - |
| max_retries | number | - |
| published_at | string | - |
| expires_at | unknown | - |
| delivered_at | unknown | - |
| acknowledged_at | unknown | - |
| created_at | string | - |
| updated_at | string | - |
npx skills add agentuity/agentuity-cli-cloud-queue-publish下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer