Duplicate cart
duplicate_cartCopies a cart drawer with its sections, look and translations. The copy is off. Use it to try a variation without touching the live 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": {
"id": "<id>"
},
"name": "duplicate_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Cart id from list_carts. | |
| name | No | Name for the copy. Default: the original name plus Copy. |