Feature a product on my SmartSite
swop_feature_productShow an existing product on the linked account's SmartSite as a tile visitors can buy from. Pass the templateId returned by swop_create_product (or the id from swop_list_my_products). Each call ADDS a new tile and never replaces existing ones, so check swop_get_my_smartsite first to avoid duplicates; remove a tile with swop_remove_link. The product must belong to the linked account.
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": {
"templateId": "<templateId>"
},
"name": "swop_feature_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | The product/template id from swop_create_product | |
| smartsiteId | No | Specific SmartSite id (default: primary) | |
| carouselTitle | No | Optional heading for the product section |