add_to_wishlist
Add a product to a Webhallen wishlist using its product ID. If the target wishlist doesn't exist, create it with a specified name.
Instructions
Add a product to a Webhallen wishlist. Use search_products first if you need the product ID. Use create_wishlist first if the list doesn't exist yet.
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": {
"productId": "<productId>"
},
"name": "add_to_wishlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | If wishlist doesn't exist, create one with this name | |
| productId | Yes | Product ID to add | |
| wishlistId | No | Wishlist ID |