Stock Movements
get_stock_movementsAn item's stock movement history at one warehouse, newest first — the Inventory page's movement log: receipts, sales, adjustments, moves, transfers and (with includeReservations) reservations, each with the document, location, quantity, cost, who did it and the running available total. Use it to explain why stock changed.
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_movements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Item SKU (matched first, case-insensitive). | |
| upc | No | Item UPC/barcode, used when SKU is absent or unmatched. | |
| page | No | 1-based page number (default 1). | |
| clientId | No | Optional client id (GUID) for operator (unpinned) credentials on 3PL tenants. | |
| pageSize | No | Page size (default 50, max 200). | |
| warehouseId | No | Warehouse id (GUID). May be omitted when the tenant has exactly one Internal warehouse. | |
| includeReservations | No | Include reservation and release events (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| total | No | ||
| itemId | No | ||
| itemSku | No | ||
| itemName | No | ||
| pageSize | No | ||
| movements | No | ||
| warehouseId | No | ||
| warehouseName | No |