start_download
Initiates CSV downloads of specified AirREGI sales reports by store and month, returning a job_id to track progress with get_download and avoid treating failed stores or periods as zero sales.
Instructions
指定した帳票のCSVを、店舗ごと・月ごとに取得して保存します。期間のない帳票(list_reports で period が false。例:product_settings、category_settings)は from と to を省き、店舗ごとに1ファイル取得します。すぐに job_id を返すので、get_download で終わるまで確認してください。取得に失敗した店舗や期間を売上ゼロと扱わないでください。
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": {
"report": "<report>",
"stores": "<stores>"
},
"name": "start_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 終了日 YYYY-MM-DD(日本時間の今日以前)。期間のない帳票では省く | |
| from | No | 開始日 YYYY-MM-DD。期間のない帳票では省く | |
| report | Yes | 帳票のID(list_reports で確認) | |
| stores | Yes | 店舗名(list_stores で確認) | |
| output_dir | No | 保存先フォルダの絶対パス。省略するとデータフォルダの downloads の下に作ります |