Live: post chat message
post_chatPosts plain-text chat messages during a live webinar as an AI-labelled assistant or host, with validation, dry-run, and idempotency to prevent duplicate sends.
Instructions
Post a message in the live chat. as: "assistant" (default) shows it under the account's assistant name with a visible "AI assistant" badge, so viewers always know it is not a person; "host" posts with the host badge under the first host name of the page (or the account name) plus "(AI assistant)", so it is still labelled as AI; use it only when the user asked to speak for the host. Max 500 characters, plain text. 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, text: "Good question! Pricing starts at 49 euro a month."}
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>",
"text": "<text>"
},
"name": "post_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Default assistant (labelled "AI assistant") | |
| text | Yes | Plain text, max 500 characters | |
| dry_run | No | true: validate and show what would happen without changing anything | |
| 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 |