add_to_cart
Adds a specified quantity of a product to an existing cart using IDs returned by product search; quantities add to current cart contents.
Instructions
Ajoute quantity unités (s'additionne à ce qui est déjà au panier). IDs issus de search_products.
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": {
"product_id": "<product_id>",
"offer_id": "<offer_id>",
"seller_id": "<seller_id>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | ||
| quantity | No | ||
| seller_id | Yes | ||
| product_id | Yes |