update_voice_agent
Update a voice agent
Description
Change fields of a voice agent: prompt, firstMessage, voiceId, llm, language, maxDurationSeconds, outcomeFields, successCriteria, name, or any platform field through raw. Only what is passed changes. Free. 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 |
|---|---|---|
agentIdrequired | string | |
provider | "vapi" | "retell" | "elevenlabs" | "telnyx" | only when more than one voice platform is connected |
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/update_voice_agent.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_voice_agent","arguments":{"agentId":"<string>"}}}
CLI
hermoso call update_voice_agent --json '{"agentId":"<string>"}'
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 accountcreate_voice_agentCreate a voice agentdelete_voice_agentDelete a voice agentdraft_voice_agentWrite a voice agent from the brandlist_voice_agent_voicesList voice-agent voicesget_voice_agentRead a voice agentlist_voice_agent_numbersList voice-agent numberslist_voice_agentsList voice agentsattach_voice_agent_numberPut an agent on a phone numberdetach_voice_agent_numberTake an agent off a number