KosmoKrator

voice

Retell AI CLI for Coding Agents

Use the Retell AI CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write API key auth

Retell AI CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Retell AI CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Retell AI CLI for Coding Agents
kosmokrator integrations:configure retell-ai --set api_key="$RETELL_AI_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call retell-ai.retell_ai_create_call '{"agent_id":"example_agent_id","metadata":"example_metadata"}' --json

Discovery Before Execution

Agents and scripts can inspect Retell AI docs and schemas before choosing a function.

kosmo integrations:docs retell-ai --json
kosmo integrations:docs retell-ai.retell_ai_create_call --json
kosmo integrations:schema retell-ai.retell_ai_create_call --json
kosmo integrations:search "Retell AI" --json
kosmo integrations:list --json

Useful Retell AI CLI Functions

FunctionTypeParametersDescription
retell-ai.retell_ai_create_call Write agent_id, metadata Create a new AI-powered phone call using a Retell AI voice agent. Specify the agent ID and optional metadata to attach context to the call.
retell-ai.retell_ai_get_call Read call_id Retrieve details for a specific phone call by its ID. Returns call status, duration, transcript, and associated metadata.
retell-ai.retell_ai_list_calls Read filter List phone calls from Retell AI. Returns call records with status, duration, and metadata. Supports optional filters for agent, status, or date range.
retell-ai.retell_ai_list_agents Read none List all configured voice agents in your Retell AI account. Returns agent IDs, names, voice settings, and other configuration details.
retell-ai.retell_ai_create_agent Write voice_id, prompt, options Create a new voice AI agent in Retell AI. Specify the voice ID and system prompt. Additional options like agent name, language, and behavior settings can be provided.
retell-ai.retell_ai_get_current_user Read none Retrieve current Retell AI account information, including available agents and account status. Useful for verifying connectivity and understanding account capabilities.

Automation Notes

Related Retell AI CLI Pages