# Hermoso: create_voice_agent · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/create_voice_agent/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / create_voice_agent

# `create_voice_agent`

Create a voice agent

Area: AI VOICE AGENTS · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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[].name` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [draft_voice_agent](https://hermoso.ai/docs/reference/publish/draft_voice_agent/) Write a voice agent from the brand
- [update_voice_agent](https://hermoso.ai/docs/reference/publish/update_voice_agent/) Update a voice agent
- [get_voice_agent](https://hermoso.ai/docs/reference/publish/get_voice_agent/) Read a voice agent
- [delete_voice_agent](https://hermoso.ai/docs/reference/publish/delete_voice_agent/) Delete a voice agent
- [list_voice_agents](https://hermoso.ai/docs/reference/publish/list_voice_agents/) List voice agents
- [list_voice_agent_voices](https://hermoso.ai/docs/reference/publish/list_voice_agent_voices/) List voice-agent voices
- [list_voice_agent_numbers](https://hermoso.ai/docs/reference/publish/list_voice_agent_numbers/) List voice-agent numbers
- [attach_voice_agent_number](https://hermoso.ai/docs/reference/publish/attach_voice_agent_number/) Put an agent on a phone number
- [detach_voice_agent_number](https://hermoso.ai/docs/reference/publish/detach_voice_agent_number/) Take an agent off a number

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
