Stage Clock Set
stage_clock_setControl a scene's stage clock by playing or pausing playback, seeking to a time, setting rate, or defining a timeline span.
Instructions
Drive the scene's stage clock (page command: clock). action: play | pause (only these two act; the clock.js header also names seek, rate and span, which work as the fields below instead). t seeks (clamped to the span), rate sets the speed, span [t0, t1] sets the timeline span in seconds. Playing loops at the end. Page replies {t, playing, rate, span}. Emits: clock (when t is given).
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": {
"scene": "<scene>"
},
"name": "stage_clock_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | ||
| rate | No | ||
| span | No | ||
| scene | Yes | ||
| action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |