Read stats
get_statsEvent stats (sign-ups, orders… counted with Hooky.track on the site or sent from a server): for each event name, count, total value and a daily series, plus the 20 most recent events (name, value, date). All sites, or one with site_id.
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": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, YYYY-MM-DD. | |
| days | No | The period, in days (default 30). | |
| from | No | Start date, YYYY-MM-DD (with to, instead of days). | |
| site_id | No | Only this site. | |
| time_zone | No | IANA time zone for the days, e.g. Europe/Paris (the default). |