| name | No | Restrict to one event name (e.g. `purchase`). | |
| page | No | 1-based page (breakdown only). | |
| limit | No | Page size 1–100 (breakdown only). | |
| order | No | Sort direction. Default desc. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| country | No | Restrict to one country (ISO 3166-1 alpha-2). | |
| currency | No | Restrict to one currency (e.g. `USD`) for a clean sum. | |
| end_date | No | Range end (inclusive), ISO-8601 date YYYY-MM-DD. Default: today. | |
| group_by | No | Ranked breakdown by dimension instead of a timeseries: name | signature_template | marketing_campaign | teammate | anchor | country | currency | user. | |
| order_by | No | Breakdown ranking metric: count | value (default count). | |
| start_date | No | Range start (inclusive), ISO-8601 date YYYY-MM-DD. Default: 2 months ago. | |
| distinct_id | No | Restrict to one identified visitor (their user id). | |
| granularity | No | Timeseries bucket size (default day). Ignored when `group_by` is set. | |
| teammate_id | No | Restrict to one teammate (their UUID). | |
| marketing_campaign_id | No | Restrict to one marketing campaign (its UUID). | |
| signature_template_id | No | Restrict to one signature template (its UUID). | |