List Recent Calls
list_recent_callsList and search the business's calls, newest first, each with who called (when known) and a short summary of what they wanted. Search by caller phone, by words in the call summary ("water heater", "quote"), and by date window; filters combine. Use get_transcript for the full call.
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_recent_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only items at or after this ISO-8601 date or time (optional). | |
| limit | No | Max results to return (default 20, max 100) | |
| phone | No | Only this caller: any phone format; matches on the last 10 digits (optional). | |
| query | No | Words to find in the call summary, e.g. "water heater" (optional). | |
| before | No | Only items before this ISO-8601 date or time (optional). | |
| offset | No | Zero-based pagination offset (default 0) | |
| status | No | Filter by status (optional) | |
| agent_id | No | Filter by agent ID (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | ||
| count | No | ||
| error | No | Present when success is false | |
| limit | No | ||
| offset | No | ||
| filters | No | ||
| success | Yes | Whether the tool completed successfully | |
| has_more | No | ||
| next_offset | No |