call_summary
Aggregate Twilio call data by day, agent, or queue to get counts, talk time, and abandonment rate over a date range, with consistent duration labeling.
Instructions
Aggregate call data by day, agent, or queue over a date range. Returns counts, talk time, and abandonment rate. Duration fields always carry their source label — CDR and TaskRouter numbers are never mixed.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "call_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End of range (YYYY-MM-DD or ISO 8601). Interpreted in the given timezone. | |
| group_by | No | Aggregate by day, agent, or queue. | day |
| timezone | No | IANA timezone. Defaults to UTC. | |
| start_date | Yes | Start of range (YYYY-MM-DD or ISO 8601). Interpreted in the given timezone. |