Update timer
Change the messages, online interval, chat lines or on/off state of a chat timer.
MCP tool streamelements_write → update_timer
write Confirm
Changes only the fields you send. Messages replaces the whole list, and the timer cycles through it. A timer that is on posts in your chat while you are live, so viewers see it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| timer_id string required | string | Timer ID from list_timers. |
| messages array | array | New list of messages the timer cycles through. |
| online_interval_minutes integer | integer | Minutes between posts while the stream is live. |
| chat_lines integer | integer | Least chat messages in the last 5 minutes before the timer posts. |
| enabled boolean | boolean | false turns the timer off. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "streamelements_write",
"arguments": {
"operation": "update_timer",
"arguments": {
"timer_id": "timer_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"timer_id": "t_20c7aa",
"name": "Charity stream",
"messages": [
"Charity stream on Saturday! Details in !schedule"
],
"online_interval_minutes": 15,
"chat_lines": 5,
"enabled": false
},
"isError": false
}