Update Widget Style Draft
webinarstack.webinars.widget_style_updateUpdate a tenant-owned webinar's widget style draft with a JSON merge patch; send only the keys you change. The live widget does not change until you call webinarstack.webinars.widget_style_publish. This changes the widget's style object only. It is not page-builder authoring: it cannot add, remove or edit blocks or form fields. Writable in this version: host.modalWidth (integer 320-1200) and host.triggerColor, plus the form options: surface (bg, maxWidth, borderWidth, borderColor, radius, shadow, padding), typography (headingFont, bodyFont, headingScale, headingWeight, align), header (logoPlacement, kickerStyle, trustStyle), fields (labelStyle, fieldStyle, fieldBorder, fieldRadius, fieldSize, fieldBg), button (buttonStyle, buttonShape, buttonWidth, buttonSize, buttonIcon, buttonColor), session picker (sessionStyle), countdown (countdownStyle) and layout (blockSpacing, blockTitle). Colour values accept hex (#rgb, #rrggbb), rgb() or rgba(), and some colours also take a keyword (bg: transparent, borderColor: auto, fieldBg: auto or translucent). An absent headingFont or bodyFont follows the webinar theme font. null removes an option so it falls back to its default. Options for the modal chrome and the trigger button (Phase 231) and for the surface kind, colour scheme, text tone, layout and panel (Phase 233) return 'not yet available'. Last write wins. Responses include updatedAt. An editor tab that is open on this widget can autosave over a draft written through the API.
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>",
"style": "<style>"
},
"name": "webinarstack.webinars.widget_style_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | RFC 7396 merge patch for the widget style object. Send only the keys you change; null removes an option. | |
| webinarId | Yes |