Set Quantity
set_quantityChange the quantity of a basket line by providing its line_id and the desired quantity.
Instructions
Change the quantity of a basket line (line_id from view_basket).
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": {
"line_id": "<line_id>",
"quantity": "<quantity>"
},
"name": "set_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | ||
| line_id | Yes | ||
| quantity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||