Create agent
create_agentCreate a new agent configuration by defining its display name and model type, plus optional prompt, endpoint, metadata, or phone number for voice, chat, SMS, or WebSocket agents.
Instructions
Create a new agent configuration with a model type and connection details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"display_name": "<display_name>",
"model_type": "<model_type>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | System prompt or instructions for the agent | |
| endpoint | No | Webhook or WebSocket endpoint URL | |
| metadata | No | Custom metadata for the agent | |
| model_type | Yes | Type of agent: MODEL_TYPE_VOICE, MODEL_TYPE_CHAT, MODEL_TYPE_SMS, etc. | |
| display_name | Yes | Human-readable name for the agent | |
| phone_number | No | Phone number for voice agents (E.164 format) |