Add a product to the cart
add_to_cartAdd a product to your Picnic cart using its product ID and optional quantity, without placing an order.
Instructions
Add a product to the cart. Does not place an order.
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 |
|---|---|---|---|
| count | No | ||
| product_id | Yes | Picnic product id from search_products |