Update or unlist a product
swop_update_productEdit one of the linked account's products, or unlist it. Pass its productId (from swop_list_my_products) plus ONLY the fields to change — anything omitted keeps its current value. To unlist it, set status to 'archived'. Confirm price and name changes with the user first.
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": "swop_update_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New product name | |
| image | No | New primary image URL | |
| status | No | Set 'archived' to unlist | |
| keywords | No | Replaces the keywords | |
| priceUsd | No | New price in USD (settles in USDC) | |
| variants | No | Buyer-selectable options. Replaces the existing set when given. | |
| mintLimit | No | New inventory available | |
| productId | Yes | The product id from swop_list_my_products | |
| description | No | New description | |
| extraImages | No | Replaces the additional images. Requires image, since the full list is rewritten | |
| shippingCost | No | Flat shipping cost in USD | |
| requiresShipping | No | Collect a shipping address | |
| royaltyRecipient | No | Wallet receiving royalties | |
| royaltyPercentage | No | Resale royalty percent | |
| digitalDeliveryNote | No | What a buyer receives |