create_voice_agent
Create a voice agent
Description
Create an AI voice agent on the brand's own Vapi, Retell AI, ElevenLabs or Telnyx account. Pass prompt (and any other field) to create exactly that, free; leave prompt out and Hermoso writes the agent from the brand profile first (purpose, direction), which costs credits. Hermoso sets the agent to report finished calls to the brand's call inbox. The platform bills the calls. Needs Vapi, Retell AI or ElevenLabs connected (Connectors, or connect_connector with the API key), or Telnyx for its AI Assistants.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | "vapi" | "retell" | "elevenlabs" | "telnyx" | only when more than one voice platform is connected |
purpose | string | used when prompt is left out |
direction | "inbound" | "outbound" | |
notes | string | |
name | string | |
prompt | string | the instructions the agent follows on every call |
firstMessage | string | its first line; empty string = it waits for the caller |
voiceId | string | from list_voice_agent_voices |
voiceProvider | string | Vapi: the voice's provider, e.g. vapi, 11labs, cartesia, openai |
voiceModel | string | the TTS model, e.g. eleven_flash_v2_5 (Retell, ElevenLabs) |
language | string | e.g. en-US, es, fr-CA |
llm | string | the language model, e.g. gpt-4.1, claude-haiku-5-5, openai/gpt-4.1 (Vapi provider/model) |
temperature | number | |
maxDurationSeconds | number | longest call in seconds |
endCallMessage | string | |
voicemailMessage | string | what it says on reaching voicemail |
record | boolean | record calls (platform default when omitted) |
summary | boolean | write a summary after each call |
successCriteria | string | what a successful call is; the platform grades each call against it |
outcomeFields | object[] | facts to pull out of every call (e.g. an appointment time as a string), each with a name, a type (string, number, boolean or enum with options) and a description |
outcomeFields[].namerequired | string | |
outcomeFields[].type | "string" | "number" | "boolean" | "enum" | |
outcomeFields[].description | string | |
outcomeFields[].options | string[] | |
raw | object | any field of the platform's own agent body, merged over Hermoso's (Retell: raw.llm for the Retell LLM) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_voice_agent.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_voice_agent","arguments":{}}}
CLI
hermoso call create_voice_agent --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
connect_connectorConnect a paste-a-key accountdraft_voice_agentWrite a voice agent from the brandupdate_voice_agentUpdate a voice agentget_voice_agentRead a voice agentdelete_voice_agentDelete a voice agentlist_voice_agentsList voice agentslist_voice_agent_voicesList voice-agent voiceslist_voice_agent_numbersList voice-agent numbersattach_voice_agent_numberPut an agent on a phone numberdetach_voice_agent_numberTake an agent off a number