Show the analytics dashboard
show_analyticsOpen the analytics as a dashboard beside the chat: views, visitors and product clicks over time as a chart, top catalogs, referrers, countries and devices — or, with catalogId, that catalog's top products, most viewed pages, live visitors and the leads its form collected. The merchant can switch the period and open a catalog from the overview in the panel. For when they want to see how things are going; a specific question answered from the numbers is get_analytics. Needs a plan with analytics, as get_analytics does.
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": "show_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date, with period "custom"; default now | |
| from | No | ISO date, with period "custom" | |
| period | No | 7d, 30d, 90d, 1y, all, or custom with from/to | 30d |
| catalogId | No | One catalog, as returned by list_catalogs; omit for the overview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| summary | Yes |