cURL
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" } ]
API Key (i.e. Rest API Key from the Dashboard).
AI Agent UID
Get actions available within a tool (e.g., send-email, draft-email)
Available tool actions retrieved successfully
Was this page helpful?
Contact support