What to reorder
what_to_reorderWhat to reorder: items that will run out before a new order arrives, from the last 30 days of Shopify sales, stock on hand and each item's lead time (14 days if not set) and safety days, with how many to order and a draft order per supplier (not sent). Set lead_time_days, safety_days, supplier_name and supplier_email with update_inventory_item.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "what_to_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many items to list (default 20). | |
| cover_days | No | How many days a new order should last after it arrives (default 30). | |
| project_id | No |