adjust-inventory
Adjust inventory quantity for a specific variant at a location by applying a positive or negative delta, enabling incremental stock changes without replacing total counts.
Instructions
Adjust inventory quantity for a specific variant at a location. Use positive delta to add stock, negative to remove. This is for incremental changes.
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": {
"inventoryItemId": "<inventoryItemId>",
"locationId": "<locationId>",
"delta": "<delta>"
},
"name": "adjust-inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | Yes | Quantity change (positive or negative) | |
| reason | No | Adjustment reason | correction |
| locationId | Yes | Location ID | |
| inventoryItemId | Yes | Inventory item ID (from variant) | |
| referenceDocumentUri | No | Reference document URI |