cart_add_item
Add an electronic component to a store shopping cart by specifying its shopId:itemId slug and optional quantity. Use it to build per-store carts before checkout.
Instructions
Add an electronic component to the store shopping cart
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": {
"slug": "<slug>"
},
"name": "cart_add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Component slug ('shopId:itemId') | |
| quantity | No | Quantity to add (default 1) |