set_inventory
Set an absolute inventory quantity for a specific item at a location, overwriting the current available stock.
Instructions
Set inventory to an absolute quantity at a given location. This overwrites the current available quantity.
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>",
"available": "<available>"
},
"name": "set_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory_item_id | Yes | The inventory item ID. | |
| location_id | Yes | The location ID. | |
| available | Yes | The absolute quantity to set. |