create_agent
Configure and deploy a conversational AI agent with custom voice, language, and behavior settings for interactive voice applications using ElevenLabs technology.
Instructions
Create a conversational AI agent with custom configuration.
⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.
Args:
name: Name of the agent
first_message: First message the agent will say i.e. "Hi, how can I help you today?"
system_prompt: System prompt for the agent
voice_id: ID of the voice to use for the agent
language: ISO 639-1 language code for the agent
llm: LLM to use for the agent
temperature: Temperature for the agent. The lower the temperature, the more deterministic the agent's responses will be. Range is 0 to 1.
max_tokens: Maximum number of tokens to generate.
asr_quality: Quality of the ASR. `high` or `low`.
model_id: ID of the ElevenLabs model to use for the agent.
optimize_streaming_latency: Optimize streaming latency. Range is 0 to 4.
stability: Stability for the agent. Range is 0 to 1.
similarity_boost: Similarity boost for the agent. Range is 0 to 1.
turn_timeout: Timeout for the agent to respond in seconds. Defaults to 7 seconds.
max_duration_seconds: Maximum duration of a conversation in seconds. Defaults to 600 seconds (10 minutes).
record_voice: Whether to record the agent's voice.
retention_days: Number of days to retain the agent's data.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
asr_quality | No | high | |
first_message | Yes | ||
language | No | en | |
llm | No | gemini-2.0-flash-001 | |
max_duration_seconds | No | ||
max_tokens | No | ||
model_id | No | eleven_turbo_v2 | |
name | Yes | ||
optimize_streaming_latency | No | ||
record_voice | No | ||
retention_days | No | ||
similarity_boost | No | ||
stability | No | ||
system_prompt | Yes | ||
temperature | No | ||
turn_timeout | No | ||
voice_id | No | cgSgspJ2msm6clMCkdW9 |
Input Schema (JSON Schema)
{
"properties": {
"asr_quality": {
"default": "high",
"title": "Asr Quality",
"type": "string"
},
"first_message": {
"title": "First Message",
"type": "string"
},
"language": {
"default": "en",
"title": "Language",
"type": "string"
},
"llm": {
"default": "gemini-2.0-flash-001",
"title": "Llm",
"type": "string"
},
"max_duration_seconds": {
"default": 300,
"title": "Max Duration Seconds",
"type": "integer"
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Tokens"
},
"model_id": {
"default": "eleven_turbo_v2",
"title": "Model Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"optimize_streaming_latency": {
"default": 3,
"title": "Optimize Streaming Latency",
"type": "integer"
},
"record_voice": {
"default": true,
"title": "Record Voice",
"type": "boolean"
},
"retention_days": {
"default": 730,
"title": "Retention Days",
"type": "integer"
},
"similarity_boost": {
"default": 0.8,
"title": "Similarity Boost",
"type": "number"
},
"stability": {
"default": 0.5,
"title": "Stability",
"type": "number"
},
"system_prompt": {
"title": "System Prompt",
"type": "string"
},
"temperature": {
"default": 0.5,
"title": "Temperature",
"type": "number"
},
"turn_timeout": {
"default": 7,
"title": "Turn Timeout",
"type": "integer"
},
"voice_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "cgSgspJ2msm6clMCkdW9",
"title": "Voice Id"
}
},
"required": [
"name",
"first_message",
"system_prompt"
],
"type": "object"
}