Live: pin chat message
pin_messagePin a chat message above the chat for everyone during a live webinar, or unpin it by passing a null event_id. Use it to highlight your own announcement after posting it.
Instructions
Pin one chat message above the chat for everyone (replaces the pinned one), or unpin with event_id null. event_id is the id of a chat.message from watch_live or get_chat_history; hidden messages cannot be pinned. Tip: post_chat first, then pin its id to pin your own announcement. 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, event_id: 1287}
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>",
"event_id": "<event_id>"
},
"name": "pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true: validate and show what would happen without changing anything | |
| event_id | Yes | Chat message id to pin, or null to unpin | |
| 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 |