Change the call to action in the webinar room
wi_change_webinar_ctaChanges one call to action in the live room: the offer or booking box, its tab name, its text, its button and whether it is shown. For an evergreen webinar it also sets the moment the box appears. Take it when the box should say something else. A host says: "The button text is wrong, and it should show after twelve minutes." It needs the session and the webinar. Leave the slot out to add a new box at the end, or name a slot to change exactly that one and leave the others untouched. It writes on your site and participants see it in the room; nothing else on the campaign changes. Removing a slot deletes the whole box and cannot be undone, so it needs a clear yes. Side effect: it acts on your connected WordPress site; nothing else is touched. Words hosts use: change the button, add an offer box, tab name, show the offer
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wi_change_webinar_cta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | Show this CTA in the room (true) or hide it (false). | |
| site | No | Which connected site is meant when this chat has more than one: the address exactly as wi_get_connector_status lists it under sites. Leave it out while only one site is connected. | |
| slot | No | Which CTA slot (1, 2, 3). Leave it out to add a new CTA at the end. | |
| text | No | The body of the CTA: HTML or shortcodes, e.g. an [advanced_iframe src="..."] for an embedded page. | |
| width | No | Overlay box width, e.g. 60% or 500px (overlay only). | |
| iframe | No | Show the body inside an iframe. | |
| remove | No | true deletes this whole CTA slot. Cannot be undone, needs the host's clear yes. | |
| timing | No | Evergreen only: when the CTA appears, as MM:SS after the start, e.g. 20:00. | |
| confirm | No | Must be true together with remove, and only after the host said that this CTA may be deleted. | |
| position | No | outer is the sidebar tab on the right, overlay lies over the video. | |
| tab_text | No | The name of the sidebar tab for this CTA. | |
| copy_from | No | Copy this existing slot first, then apply the other fields on top. | |
| button_url | No | Where the button goes. An empty string removes the link. | |
| session_id | No | From an earlier turn (weiter · texte · stand). | |
| webinar_id | No | The webinar (campaign) id, as wi_list_webinars returned it. Never invent an id. | |
| button_text | No | The button label. An empty string removes the label, together with button_url it removes the button. | |
| button_color | No | Button colour as hex, e.g. #6BBA40. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |