Re-order into cart
add_order_to_cartAdds every product from a previous order to the cart with matching quantities. Use list_orders to find the order ID and optionally exclude products.
Instructions
Add every product from a past order to the cart (with the same quantities). Use list_orders to find the id.
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": {
"order_id": "<order_id>"
},
"name": "add_order_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| exclude_product_ids | No |