Skip to main content
Docs menu
All MCP tools

MCP tools · Agents

Generate an agent from a brief

generate_agent

Generate a complete agent from a plain-language brief using the dashboard's AI Copilot, and save it as a draft: name, workflow prompt with call steps, opening line, and post-call fields. Set channel to 'chat' to build a text chat agent instead of a voice agent. Suited to a description of what the agent should do rather than a written prompt. Takes up to a minute. Returns the draft's id, dashboard link, and its language, voice, opening line and post-call fields.

Scope needed
finn or assistants:write
Acts as
You, the signed-in member, with your role's permissions.
Changes data
Yes
Held for approval
No
Available to
Every organization

Inputs

NameTypeDescription
briefrequiredstringPlain-language brief for the agent, as you would type it into the dashboard's AI Copilot: who calls whom, why, the steps of the call, tone, language, and what to capture afterwards. e.g. 'Outbound EMI reminder for a Hindi-speaking NBFC customer base. Polite but firm. Confirm identity, remind of the due amount, ask for a payment date, capture whether they promised to pay.'
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.
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.
org_idstringThe organization to work in (its id). Your workspace has more than one.