stock_on_hand
Check current inventory levels by item and location, using filters for item ID, location ID, or a specific date to get on-hand stock quantities.
Instructions
On-hand per item x location (a P5 read model = the signed sum of stock movements), plus the location and stock-tracked-item pickers. Filter by itemId, locationId, or asOf (inclusive).
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": {
"workspaceId": "<workspaceId>"
},
"name": "stock_on_hand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ||
| itemId | No | ||
| locationId | No | ||
| savedViewId | No | ||
| workspaceId | Yes |