reconstruct_product_stock_ledger
Rebuild a chronological diagnostic ledger from stock moves to trace inventory history by product, lot, or location and verify balances.
Instructions
Reconstruct a chronological diagnostic ledger from stock moves.
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": "reconstruct_product_stock_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| lot_id | No | ||
| lot_scope | No | all | |
| product_id | Yes | ||
| location_id | No | ||
| include_cancelled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||