add_to_cart
Add a product to your cart using the product ID from a product search.
Instructions
Ajoute un produit au panier. Utilise l'id retourné par search_product.
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>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Quantité à ajouter | |
| product_id | Yes | Identifiant produit (champ id de search_product) |