hermosodocs

update_voice_agent

Update a voice agent

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

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

ParameterTypeDescription
agentIdrequiredstring
provider"vapi" | "retell" | "elevenlabs" | "telnyx"only when more than one voice platform is connected
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/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.

All 728 Publishing & scheduling tools · tools.json