Live: show offer
show_offerDisplays an offer banner under the video for live webinar viewers, linking a CTA button with tracked clicks and replacing any existing offer.
Instructions
Show an offer banner under the video of every viewer: one of the webinar's CTA buttons (page.ctas, see get_page; add one with update_page). The button opens the CTA URL through the click tracker, so clicks show up as cta.clicked in watch_live and in the funnel. Replaces an offer already shown. headline (max 80) is the line above the button; default the CTA label. Only while the webinar is live (status live); otherwise error not_live. delivered false (with warning) means it was saved but LiveKit did not take it: do not retry, that would do it twice. Max 30 live actions per 10 s per key (rate_limited). Example: {webinar_id, cta_key: "book-demo", headline: "Book a demo this week"}
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": {
"webinar_id": "<webinar_id>",
"cta_key": "<cta_key>"
},
"name": "show_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta_key | Yes | Key of a CTA in page.ctas, e.g. "book-demo"; an unknown key fails with invalid_request listing the known keys | |
| dry_run | No | true: validate and show what would happen without changing anything | |
| headline | No | Line above the button, max 80 chars; default the CTA label | |
| webinar_id | Yes | Webinar id (UUID) from list_webinars or create_webinar | |
| idempotency_key | No | Any unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| result | Yes | ||
| status | No | ||
| changes | No | ||
| dry_run | No | ||
| message | No | ||
| error_code | No |