Compose subscription link
compose_subscriptionBuilds a link to the subscription builder (/subskrypcja/zestaw) based on a customer goal and optional preferences (zestaw, moc, forma), or falls back to the /produkty catalog with matching filters when subscriptions are temporarily disabled. Can also accept specific items (SKU:quantity) validated against the live catalog. Does NOT create a subscription or pay — returns a link for the CUSTOMER to click.
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": {
"cel": "<cel>"
},
"name": "compose_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cel | Yes | Customer goal (required). | |
| moc | No | Product line: prime or longevity. | |
| forma | No | Preferred product form. | |
| items | No | Specific items as "SKU:quantity,SKU:quantity" (validated against catalog). | |
| zestaw | No | Set size: hero (1 mushroom), start (2), full (4). |