Analytics snapshot
analytics_snapshotAnalytics snapshot for one website: requested window, series, prior period, and the channel recommendation. from/to default to the last 60 days in time_zone (UTC if omitted).
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": "analytics_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | inclusive end YYYY-MM-DD; default today | |
| from | No | inclusive start YYYY-MM-DD; default last 60 days | |
| period | No | named window instead of from/to: today, yesterday, 7d, 28d, 30d, 90d, 365d (each ends today), this_month, or last_month | |
| currency | No | lowercase ISO 4217 code | |
| time_zone | No | IANA time zone; default UTC | |
| website_id | No | website id (uuid) or the site domain (example.com); omit when the account has one website | |
| granularity | No | day, week, or month; default day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| prior | Yes | ||
| scope | Yes | ||
| cohort | Yes | ||
| series | Yes | ||
| app_url | No | ||
| quality | Yes | ||
| activity | Yes | ||
| channels | Yes | ||
| headline | Yes | ||
| website_id | Yes | ||
| recommendation | Yes |