hermosodocs

create_voice_agent

Create a voice agent

Area: AI VOICE AGENTS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
provider"vapi" | "retell" | "elevenlabs" | "telnyx"only when more than one voice platform is connected
purposestringused when prompt is left out
direction"inbound" | "outbound"
notesstring
namestring
promptstringthe instructions the agent follows on every call
firstMessagestringits first line; empty string = it waits for the caller
voiceIdstringfrom list_voice_agent_voices
voiceProviderstringVapi: the voice's provider, e.g. vapi, 11labs, cartesia, openai
voiceModelstringthe TTS model, e.g. eleven_flash_v2_5 (Retell, ElevenLabs)
languagestringe.g. en-US, es, fr-CA
llmstringthe language model, e.g. gpt-4.1, claude-haiku-5-5, openai/gpt-4.1 (Vapi provider/model)
temperaturenumber
maxDurationSecondsnumberlongest call in seconds
endCallMessagestring
voicemailMessagestringwhat it says on reaching voicemail
recordbooleanrecord calls (platform default when omitted)
summarybooleanwrite a summary after each call
successCriteriastringwhat a successful call is; the platform grades each call against it
outcomeFieldsobject[]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[].namerequiredstring
outcomeFields[].type"string" | "number" | "boolean" | "enum"
outcomeFields[].descriptionstring
outcomeFields[].optionsstring[]
rawobjectany 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.

All 728 Publishing & scheduling tools · tools.json