get_inventory
Retrieve stock on hand per outlet for a product variant, including reorder points and average cost. Filter by outlet, include variants, and hide zero-stock rows.
Instructions
Stock on hand per outlet for one product (variant), with reorder point/amount and average cost. include_variants=True covers its whole family (every colour and size; can be hundreds of rows). outlet filters by outlet name (substring). hide_zero drops rows with nothing on hand.
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": {
"product_id": "<product_id>"
},
"name": "get_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outlet | No | ||
| hide_zero | No | ||
| product_id | Yes | ||
| include_variants | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |