Docs menu
All MCP tools
MCP tools · Agents
Create an agent
create_agentCreate 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
| Name | Type | Description |
|---|---|---|
| channel | enum: 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. |
| namerequired | string | Display name of the agent (the AI voice agent). Required. |
| identityTextrequired | string | Role & 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. |
| styleGuardrailsrequired | string | Tone & 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. |
| responseGuidelinesrequired | string | Response 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. |
| useCase | string | Short label for the agent's purpose, e.g. 'Appointment booking'. Defaults to 'Custom'. |
| language | string | Primary language, e.g. 'English'. Defaults to English if omitted. |
| voice | string | Voice id to use, from the list of available voices. If omitted, the backend's default voice is used. |
| definedBeginMessage | string | The opening line the agent says when a call starts. Optional. |
| customVocabulary | array of string | List of uncommon words/names the agent should pronounce correctly. Optional. |
| org_id | string | The organization to work in (its id). Your workspace has more than one. |