update_inventory
Adjust inventory quantities for a given SKU using a delta change and reason, with validation and audit logging.
Instructions
Adjust inventory with validation and audit logging. Requires inventory:write.
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": {
"sku": "<sku>",
"quantity_delta": "<quantity_delta>",
"reason": "<reason>"
},
"name": "update_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | ||
| reason | Yes | ||
| quantity_delta | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||