craftos_clock
Control the shared emulator clock for every computer: pause, resume, step ticks, set speed, jump ahead, or set time of day, then return paused status, speed, and world time.
Instructions
The clock of every computer at once (the same controls as the browser app's bar): pause (every computer stops at its next yield, then the clock stands still; no 'too long without yielding'), resume (timers go on where they were, nothing fires in a burst), step (pause and run ticks ticks of 1/20 s), speed (1-1000 times faster, or "max": skip idle time to the next timer), jump (amount ahead, e.g. "90s", "5m", "2h", "1d" = a Minecraft day; the timers on the way fire one at a time, in order, and the programs run between them, so a sleep loop runs every round that fits), time (set the time of day, "18:00"), status. Returns paused, speed and the world's time of day. For one computer's own jump use craftos_advance.
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": {
"action": "<action>"
},
"name": "craftos_clock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | ||
| ticks | No | ||
| action | Yes | ||
| amount | No |