Skip to main content
Docs menu
All MCP tools

MCP tools · Agents

Create an agent

create_agent

Create a new agent — a voice agent for phone calls, or with channel 'chat' a text chat agent. Provide a name plus the persona fields (identity, tone/style, response guidelines), which are joined into the agent's single workflow prompt, as the dashboard's AI Copilot does. The agent is created as a 'draft' and is not live until it is published (publish_agent where it is available, held for a person to approve; otherwise Launch in the dashboard). On success it returns a dashboard link to the new agent, its id, and which organization and account it was created in.

Scope needed
finn
Acts as
You, the signed-in member, with your role's permissions.
Changes data
Yes
Held for approval
Can be. The call returns a pending approval and an approve link, and nothing happens until a person in your organization approves it in All Gas No Brakes.
Available to
Every organization

Inputs

NameTypeDescription
channelenum: voice | chat'voice' for an agent that talks on phone calls (the default), 'chat' for a text chat agent (website chat, WhatsApp/SMS inbox). A chat agent ignores voice and call settings.
namerequiredstringDisplay name of the agent (the AI voice agent). Required.
identityTextrequiredstringRole & Identity: who the agent is and what its job is. e.g. 'You are Maya, a friendly appointment-booking assistant for a dental clinic.' Required. Becomes the first block of the agent's single workflow prompt.
styleGuardrailsrequiredstringTone & Style: how the agent should speak. e.g. 'Warm, concise, professional. Never interrupt. Confirm details before booking.' Required. Becomes the second block of the workflow prompt.
responseGuidelinesrequiredstringResponse Guidelines: rules for what the agent should and shouldn't do, including the steps of the call. e.g. 'Only discuss appointments. If asked about pricing, offer to transfer to a human.' Required. Becomes the last block of the workflow prompt.
useCasestringShort label for the agent's purpose, e.g. 'Appointment booking'. Defaults to 'Custom'.
languagestringPrimary language, e.g. 'English'. Defaults to English if omitted.
voicestringVoice id to use, from the list of available voices. If omitted, the backend's default voice is used.
definedBeginMessagestringThe opening line the agent says when a call starts. Optional.
customVocabularyarray of stringList of uncommon words/names the agent should pronounce correctly. Optional.
org_idstringThe organization to work in (its id). Your workspace has more than one.