Get Analytics
get_analyticsGet a dashboard summary (lead counts by status, conversion rate, call volume and duration, top agents, and business outcomes by type) over a recent time window.
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": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days (default 30, max 90) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | ||
| error | No | Present when success is false | |
| leads | No | ||
| agents | No | ||
| period | No | ||
| success | Yes | Whether the tool completed successfully | |
| outcomes | No | ||
| outcomes_total | No |