Move products between collections
aalto_move_productsMoves products from one collection to another: adds them to the destination with the status they had in the source, then removes them from the source. Products are never deleted and always stay in the Library, so the Library cannot be the source. Shared or published collections can be neither the source nor the destination. Reports partial results instead of hiding them.
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": {
"from_collection_id": "<from_collection_id>",
"to_collection_id": "<to_collection_id>",
"product_ids": "<product_ids>",
"idempotency_key": "<idempotency_key>"
},
"name": "aalto_move_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section_id | No | A section of the destination to place them in. | |
| product_ids | Yes | 1–50 products that are currently in the source collection. | |
| idempotency_key | Yes | Required. A new unique string per intended change (8–128 chars). Retrying with the same key and same arguments replays the first result instead of writing twice. | |
| to_collection_id | Yes | A private collection to put them in. Must differ from the source. | |
| from_collection_id | Yes | The collection to take the products out of (not the Library). |