Schedule a live event
schedule_live_eventSchedule (or, with an existing id, edit) a timed event: a window, optionally repeating daily or weekly, optionally limited to some rooms, carrying config overrides that apply only while it runs. It starts and ends on time in rooms that are already running, as data: nobody is kicked and nothing is redeployed. Clients see it in mp.live (active / upcoming / config) and mp.onLive(cb); server logic reads liveOps() and gets onLiveOps(live, change) when it starts or ends. Up to 50 events per game; check the result with get_live_ops (pass at to preview).
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": {
"title": "<title>"
},
"name": "schedule_live_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Stable id (a-z, 0-9, - _). Defaults to a slug of the title. Scheduling an existing id EDITS that event. | |
| game | No | Which game to act on: its publishable key (pk_…) or its exact name. Defaults to the x-mp-game header, then your primary game. | |
| rooms | No | Only these room names. Omit = every room of the game. | |
| title | Yes | Player-facing name, e.g. 'Double XP Weekend'. | |
| config | No | Overrides deep-merged over the live config while the event runs (null deletes a key), e.g. { xpMultiplier: 2, rules: { lives: 1 } }. | |
| endsAt | No | ISO-8601 end. Or give durationMinutes. Neither = open-ended (until cancelled; not for repeating events). | |
| repeat | No | Repeat the same window every day or week from startsAt (default none). | |
| startsAt | No | ISO-8601 start, e.g. "2026-11-01T18:00:00Z", or "now" (the default). | |
| description | No | Player-facing blurb for an events window. | |
| repeatUntil | No | ISO-8601: no occurrence starts at or after this. Omit = repeats forever. | |
| durationMinutes | No | Length of each occurrence, instead of endsAt. |