lower_order_quantity
Reduce the quantity of specific order lines. Set quantity to zero to remove items from the order.
Instructions
Reduce the quantity of specific order lines. Quantity can only be lowered. Set to 0 to remove.
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": {
"token": "<token>",
"lineIds": "<lineIds>",
"quantity": "<quantity>"
},
"name": "lower_order_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Order token | |
| lineIds | Yes | IDs of lines to modify | |
| quantity | Yes | New total quantity (must be lower than current) |