x5_get_spending
Retrieve spending totals from X5 Club purchase history for a date range, grouped by day, week, or month and filtered by store network. Uses receipt sums to avoid item duplication.
Instructions
Траты по суммам чеков, без удвоения по товарам. Период включительно, сеть по исходному коду. null — неизвестно.
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_spending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| groupBy | No | month | |
| network | No |