send_scene_event
Dispatches a named event with a JSON payload to a running wallpaper's event handler without reloading, so MCP clients can trigger live scene updates.
Instructions
Dispatches a live named event with JSON payload to ctx.onEvent((name, payload) => ...) in the currently running wallpaper without reloading.
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": {
"name": "<name>"
},
"name": "send_scene_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event name (e.g. 'preset', 'weather', 'params'). | |
| payload | No | Arbitrary JSON object passed to the scene. |