List calls
list_callsList call history (both inbound and outbound), newest first. Optionally limit the count (limit, capped at 200), filter by call direction (direction, "in" or "out"), a time window (from/to, unix ms, inclusive), a specific agent (agentId), whether the call is flagged (flagged), the LLM-judged goal outcome (goal: success/failure/unknown, where unknown includes calls with no goal evaluation yet) or how the call ended (outcome: agent/transferred/no_answer/other), or paginate via before (unix time in milliseconds - returns only calls older than this time). Each filtered call is one RECORD (one phone leg), not a conversation - a successfully transferred call is up to two records: the leg that performed the transfer classifies as outcome: "transferred", the receiving leg keeps its own outcome. The response carries hasMore (whether older calls exist - with a filter this can conservatively report true when the search just has not reached the end of the history yet) and nextBefore (pass this as before to get the next page, null when hasMore is false). A call for an agent with phases (the workflow field on create_agent/update_agent) also carries workflowPath - the path the call took through the agent's nodes - but only when it ran on volai's own voice engine (provider: "engine"); see get_call for the field's shape. Same data as GET /v1/calls (response schema in /openapi.json).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only calls that started at or before this unix time in milliseconds. | |
| from | No | Only calls that started at or after this unix time in milliseconds. | |
| goal | No | Only calls matching this goal state: success, failure, unclear (conversation happened, outcome undetermined), no_conversation (caller silent, voicemail, voice menu, or not connected), not_evaluated (no evaluation yet), or unknown (alias for the last three). | |
| limit | No | How many rows to return, newest first. Defaults to 50, capped at 200. | |
| before | No | Unix time in milliseconds; returns only rows older than this. Pass nextBefore from the previous response to get the next page. Omit for the newest page. | |
| agentId | No | Only calls handled by this agent, from list_agents. | |
| flagged | No | true for only flagged calls (see annotate_call), false for only unflagged ones. Omit for both. | |
| outcome | No | Only calls with this per-record outcome: agent (handled without transfer), transferred (this leg performed a transfer), no_answer (unanswered), other. A gate ring (kind ring) is always other, even with status no_answer. | |
| direction | No | Filter by call direction: in (inbound, someone called you) or out (outbound, you called someone). Omit to list both directions. |