Get goal stats
goal_statsRead-only results of one goal over the last days (default 30, 1 to 365): conversions, unique contacts, how many were credited to an email, revenue_cents and the top emails. Errors: not_found. Next: list_goals, or create_goal for another outcome.
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": {
"id": "<id>"
},
"name": "goal_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The goal id (gol_...). | |
| days | No | Look back this many days (1 to 365, default 30). |