Call starts
- Permission required
agent:runtime(agent keys only)
When to use it
Called by the agent's code (not its LLM) on joining the room. Creates the conversation (in progress), identifies the caller by phone and returns in one answer what the agent needs to greet: the contact (name, memory, latest conversations, open incidents), the organization's local time, the centre and the knowledge base version. Repeating it with the same call_id returns the same conversation.
Input
| Field | Type | Description |
|---|---|---|
call_idRequired | string | The call id: the LiveKit room name. With the key, it identifies the call |
channel | "voice" | Channel (only voice for now) |
caller_phone | string | Caller's phone (SIP), any format |
called_number | string | Number that was dialled: picks the centre |
started_atRequired | string (date-time) | ISO time the call started |
location_hint | string | Centre name if the agent already knows it |
metadata | object | Free agent data (version, model…). No personal data |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
conversation_idRequired | number | Conversation id in the panel |
call_idRequired | string | |
statusRequired | string | in_progress, or completed if the call already ended |
createdRequired | boolean | false = it already existed (retry) |
contactRequired | object | null | Who is calling, when the phone is known or valid |
org_nowRequired | object | The organization's current time (for "today", "tomorrow"…) |
org_now.isoRequired | string | |
org_now.localRequired | string | |
org_now.weekdayRequired | string | |
org_now.timezoneRequired | string | |
locationRequired | object | null | |
kb_versionRequired | string | null | Knowledge base version: reload it when it changes |
Examples
Example 1: Incoming call
Call
{
"name": "call_start",
"arguments": {
"call_id": "call-_+34600111222_abc123",
"channel": "voice",
"caller_phone": "+34600111222",
"called_number": "+34930000000",
"started_at": "2026-11-25T09:30:00Z"
}
}Response
{
"conversation_id": 81234,
"call_id": "call-_+34600111222_abc123",
"status": "in_progress",
"created": true,
"contact": {
"id": 501,
"name": "Ana",
"phone": "+34600111222",
"email": null,
"known": true,
"notes": "Socia desde 2024; prefiere las mañanas.",
"last_conversations": [],
"open_incidents": []
},
"org_now": {
"iso": "2026-11-25T09:30:02.000Z",
"local": "2026-11-25 10:30",
"weekday": "miércoles",
"timezone": "Europe/Madrid"
},
"location": {
"id": 5,
"name": "Centro Joan Miró"
},
"kb_version": "3f9a1c0b7d22"
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "call_start",
"arguments": {
"call_id": "call-_+34600111222_abc123",
"channel": "voice",
"caller_phone": "+34600111222",
"called_number": "+34930000000",
"started_at": "2026-11-25T09:30:00Z"
}
}
}