Inventory Value
get_inventory_valueTotal VALUE of inventory on hand, from the cost layers: the cost still in each item's FIFO or average layers, the same value the accounting ledger's Inventory Asset carries. On hand INCLUDES reserved units (still owned); availableValue prices only the available units. Per-warehouse breakdown ranked by value; each warehouse's units are priced at the item's layer unit cost. unreconciledValue is layer value no warehouse row accounts for; unvaluedUnits are units with no cost layer (valued 0). Optionally value a single warehouse via warehouseId; omit to value all. Read-only.
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_inventory_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warehouseId | No | Optional warehouse id (GUID) to value one warehouse; omit for all warehouses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| itemCount | No | ||
| totalValue | No | ||
| warehouses | No | ||
| unvaluedUnits | No | ||
| availableValue | No | ||
| valuationBasis | No | ||
| totalOnHandUnits | No | ||
| unreconciledValue | No | ||
| unvaluedItemCount | No | ||
| totalReservedUnits | No | ||
| totalAvailableUnits | No |