Create Call Flow
trillet_create_call_flowCreate a new voice call flow with prompts, welcome messages, routing nodes, transfer/compliance settings, and webhooks for outbound or bidirectional calls.
Instructions
Create a new call flow with voice interaction configuration.
Args:
name, direction (outbound|bidirectional): required
prompt, description, agent, folderId: optional
welcomeMessage: user_initiated | ai_dynamic | ai_custom
settings: voice, compliance, transfers, knowledge base config
flowData: nodes and edges for call routing
webhooks, dynamicVariableCollections: optional
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": {
"name": "<name>",
"direction": "<direction>"
},
"name": "trillet_create_call_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Call flow name | |
| agent | No | Agent ID to assign | |
| prompt | No | Primary interaction prompt | |
| flowData | No | Nodes and edges defining call routing | |
| folderId | No | Folder ID to place flow in | |
| isActive | No | Active status | |
| isGlobal | No | Global flow flag | |
| settings | No | Flow settings (voice, compliance, transfers, etc.) | |
| webhooks | No | Webhook configurations | |
| direction | Yes | Call direction | |
| promptType | No | Prompt type | simple |
| description | No | Flow description | |
| welcomeMessage | No | Welcome message mode | |
| customWelcomeMessage | No | Custom greeting (when welcomeMessage is ai_custom) | |
| dynamicVariableCollections | No | Variable collections |