Add or remove collection cards
manage_collection_cardsAdd product cards to or remove from a static collection by specifying collection ID, action, and product card UUIDs.
Instructions
Add product cards to a STATIC collection or remove them from it. Requires product_card_ids (array of product card UUIDs).
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>",
"action": "<action>",
"cards": "<cards>"
},
"name": "manage_collection_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Collection ID (UUID). | |
| cards | Yes | Request body with product_card_ids, e.g. {"product_card_ids": ["<uuid>", ...]}. See get_operation_schema("AddCardsToCollection"). | |
| action | Yes | Whether to add or remove the cards. |