Skip to main content
GET
/
ai-agents
/
agent-builder
/
agents
/
{uid}
/
tools
/
{slug}
/
actions
Get actions available within a tool for agent
curl --request GET \
  --url https://{appId}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/agents/{uid}/tools/{slug}/actions \
  --header 'apikey: <api-key>'
[
  {
    "name": "GMAIL_SEND_EMAIL",
    "displayName": "Send Email",
    "description": "Send an email via Gmail"
  },
  {
    "name": "GMAIL_DRAFT_EMAIL",
    "displayName": "Draft Email",
    "description": "Create a draft email"
  }
]

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

For the complete error reference, see Error Guide.

Authorizations

apikey
string
header
required

API Key (i.e. Rest API Key from the Dashboard).

Path Parameters

uid
string
required

AI Agent UID

slug
string
required

Get actions available within a tool (e.g., send-email, draft-email)

Response

200 - application/json

Available tool actions retrieved successfully

name
string
displayName
string
description
string