rr_set_stock_at_location
Set the on-hand stock quantity for a specific SKU at a manual location. Input SKU, quantity, and location by ID or name.
Instructions
Set stock quantity for a SKU at a manual location.
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": "<quantity>"
},
"name": "rr_set_stock_at_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | Canonical SKU | |
| quantity | Yes | New on-hand quantity | |
| location_id | No | Manual location UUID | |
| location_name | No | Manual location name, used if location_id is omitted |