get_analytics
Get delivery and engagement analytics — sent, delivered, opened, clicked, bounced, and complained — for the account or one campaign, grouped by day/week/month.
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 |
|---|---|---|---|
| period | No | Shorthand window used when start_date is omitted (default 30d) | |
| end_date | No | End date, ISO 8601 | |
| group_by | No | Time bucket for the series (default day) | |
| start_date | No | Start date, ISO 8601 (e.g. 2026-01-01) | |
| campaign_id | No | Limit to one campaign (omit for account-wide) |