Set channel membership
set_channel_membershipMark or unmark up to 100 products for one connected sales channel (prom, rozetka, ebay, olx, …). It changes what the CRM intends to send: on Prom and Rozetka the next feed pull adds or drops the product; on eBay it only makes the product a channel member — a listing exists only after create_ebay_drafts and publish_ebay_drafts. It never arms a sync. Adding picks up active products only. Returns { affected, skipped } — skipped were already in that state. Refused until the workspace owner switches on AI publishing. Idempotent. The result echoes the workspace.
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": {
"listed": "<listed>",
"platform": "<platform>",
"productIds": "<productIds>"
},
"name": "set_channel_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listed | Yes | true marks the products for this channel; false unmarks them. This only changes what the CRM intends to send — it never arms a sync and never creates a listing by itself. Unmarking a product on Prom drops it from the next feed pull. | |
| platform | Yes | The connected sales channel to change membership on (e.g. prom, rozetka, ebay, olx). | |
| productIds | Yes | The exact products to change, at most 100 ids fetched with search_products. |