get_stock_by_warehouse
Retrieve inventory distribution matrix of products across warehouses or stores. Filter by product ID or warehouse ID to get stock levels for specific items or locations.
Instructions
取得商品在各倉庫/門市的庫存分佈矩陣。可查詢單一商品或全部商品的各倉庫庫存。
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": "get_stock_by_warehouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | No | 商品 ID(不填則查詢全部商品,但較慢) | |
| warehouse_id | No | 倉庫 ID 篩選(僅看特定倉庫) |