Apply Widget Design
webinarstack.webinars.widget_design_applyApply a design from the widget design gallery to a tenant-owned webinar's widget draft. Call webinarstack.webinars.widget_designs_list first to get the design ids this widget can use. This writes the widget DRAFT only. It cannot publish; the live widget does not change until the creator publishes, exactly like a draft edit in the editor. extraBlocks 'keep' places the blocks you added after the design's blocks, in their order. 'drop' leaves them out. Blocks holding a form, a session picker or a countdown are always left out. The heading, subheading, logo, session picker, countdown and the form's consent, GDPR, SMS and phone settings are kept. The trigger text is never changed. The result names every block the apply left out and any kicker it added. Last write wins. Responses include updatedAt. An editor tab that is open on this widget can autosave over a draft written through the API. If the widget draft changed while the design was being applied, the call returns CONFLICT and nothing is saved; read the widget again and retry.
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": {
"webinarId": "<webinarId>",
"designId": "<designId>",
"extraBlocks": "<extraBlocks>"
},
"name": "webinarstack.webinars.widget_design_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| designId | Yes | ||
| webinarId | Yes | ||
| extraBlocks | Yes |