Export campaign stats to CSV
campaign_export_statsGenerate a CSV export of campaign performance. Returns a filename; the file is served from the CDN and also emailed to the account owner — so it leaves the conversation, which is worth mentioning before calling it. Performance numbers, not people: for a file of prospects use lead_export, and to read the numbers here instead use analytics_campaign.
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": "campaign_export_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Date window as { from, to } — epoch milliseconds or ISO 8601. Omit for the backend default. | |
| campaignId | No | Campaign id, from `campaign_list` or `campaign_create`. |