add_product_to_collection
Assign a product to a custom collection by providing the product ID and collection ID.
Instructions
Add a product to a custom collection.
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": {
"product_id": "<product_id>",
"collection_id": "<collection_id>"
},
"name": "add_product_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The product ID to add. | |
| collection_id | Yes | The custom collection ID to add the product to. |