AgentSkillsCN

agentuity-cli-cloud-queue-destinations-create

为队列创建 Webhook 目标。需要身份验证。适用于 Agentuity 云平台运维。

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-queue-destinations-create
description: Create a webhook destination for a queue. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<queue_name>"
metadata:
  command: "agentuity cloud queue destinations create"
  tags: "mutating creates-resource requires-auth"

Cloud Queue Destinations Create

Create a webhook destination for a queue

Prerequisites

  • Authenticated with agentuity auth login

Usage

bash
agentuity cloud queue destinations create <queue_name> [options]

Arguments

ArgumentTypeRequiredDescription
<queue_name>stringYes-

Options

OptionTypeRequiredDefaultDescription
--urlstringYes-Webhook URL
--methodstringNo"POST"HTTP method (default: POST)
--timeoutnumberYes-Request timeout in milliseconds

Examples

Create a webhook destination:

bash
bunx @agentuity/cli cloud queue destinations create my-queue --url https://example.com/webhook

Output

Returns JSON object:

json
{
  "id": "string",
  "queue_id": "string",
  "destination_type": "string",
  "config": "object",
  "enabled": "boolean",
  "stats": "object",
  "created_at": "string",
  "updated_at": "string"
}
FieldTypeDescription
idstring-
queue_idstring-
destination_typestring-
configobject-
enabledboolean-
statsobject-
created_atstring-
updated_atstring-