Campaign stats
get_campaign_statsPerformance figures for one of the authenticated user's campaigns: leads, sends, replies, bounces, reply and bounce rates, and a per-step breakdown. Takes a campaign id from list_campaigns. A campaign belonging to anyone else is reported as not found.
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": {
"campaign_id": "<campaign_id>"
},
"name": "get_campaign_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Window for the timeline and range-scoped figures (default 30d). | |
| campaign_id | Yes | The campaign to report on. Get one from list_campaigns. | |
| include_timeline | No | Include the per-day sent/replies/bounces series. Off by default — at 90d it is 90 rows, which costs far more than the totals most questions need. |