get_slow_movers
Identify slow-moving products using inventory and sales data, and flag items with excessive days of supply or no sales to prioritize clearance.
Instructions
找出庫存高但銷量低的滯銷商品。
【用途】交叉比對商品庫存與銷售數據,計算每個商品的日均銷量與可售天數(days_of_supply), 標記 days_of_supply 超過門檻或零銷售的商品為滯銷品,協助清倉決策。 【呼叫的 Shopline API】
GET /v1/products(商品列表含庫存)
GET /v1/orders/search(銷售數據) 【回傳結構】dict 含 period、period_days、total_products、slow_movers(滯銷商品列表)。
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_slow_movers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | 分析區間結束 YYYY-MM-DD | |
| start_date | Yes | 分析區間起始 YYYY-MM-DD | |
| days_threshold | No | 可售天數門檻,超過此值視為滯銷 |