get_channel_comparison
Compare revenue, order count, and average order value across stores or channels for a given date range. Supports online vs physical store and store-to-store comparisons.
Instructions
比較各門市/通路的同期業績:營業額、訂單數、客單價等。支援線上 vs 門市,或門市之間的比較。
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_channel_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | 結束日期 YYYY-MM-DD。建議與 start_date 維持較短區間以加快查詢。 | |
| start_date | Yes | 起始日期 YYYY-MM-DD。⚠️ 本工具會逐頁掃描區間內所有訂單,區間越大越慢,請只查實際需要的最小區間(如單週或單月),避免一次查詢過長期間。 |