tiendanube_add_cart_item
Adds a product variant to a cart by cart ID or token, specifying the quantity to include.
Instructions
ADD CART ITEM - Add a variant to the cart (by id or token) with the desired quantity.
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": {
"variant_id": "<variant_id>",
"quantity": "<quantity>"
},
"name": "tiendanube_add_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | No | Cart numeric ID | |
| cart_token | No | Cart token string | |
| variant_id | Yes | Variant ID | |
| quantity | Yes | Quantity to add |