x5_get_categories
Retrieve category codes and item counts for purchases within a specified date range, with optional grouping by day, week, or month and network filter.
Instructions
Исходные коды категорий и число позиций. Названия категорий не выдумываются.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "x5_get_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| groupBy | No | month | |
| network | No |