Get a campaign's stats
get_campaign_statsUse this when the user asks for one campaign's totals: messages sent, people who opened and clicked, and replies, since a date (12 months back when left out). Opens and clicks are counted only while tracking is on. Free.
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": {
"campaignId": "<campaignId>"
},
"name": "get_campaign_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Count from this ISO 8601 date-time. 12 months ago when left out. | |
| campaignId | Yes | The campaign's id. |