Swap stack products
suppco_swap_productsUse this when the user wants to replace a product in their stack with a different one, for example after comparing alternatives. Removes old_product_id from the stack and adds new_product_id. Both are SuppCo product UUIDs or slugs.
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": {
"old_product_id": "<old_product_id>",
"new_product_id": "<new_product_id>"
},
"name": "suppco_swap_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_product_id | Yes | SuppCo Product ID to add | |
| old_product_id | Yes | SuppCo Product ID to remove |