adjust_inventory
Adjust inventory levels by adding or removing stock at a specific location. Requires inventory item ID and location ID.
Instructions
Adjust inventory by a relative amount (positive to add stock, negative to remove). Requires the inventory_item_id (from a product variant) and location_id.
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": {
"inventory_item_id": "<inventory_item_id>",
"location_id": "<location_id>",
"adjustment": "<adjustment>"
},
"name": "adjust_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory_item_id | Yes | The inventory item ID (found on product variants as `inventory_item_id`). | |
| location_id | Yes | The location ID where inventory is stored. | |
| adjustment | Yes | Amount to adjust (positive = add, negative = subtract). |