Page clock (MCP-only)
Page clock (MCP-only) — MCP tools exposed to agents.
8 tools in this group.
page_clock_fast_forward
Jump the fake clock forward by N milliseconds, firing each due timer at most once
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticks | number | yes | Number of milliseconds to fast-forward |
page_clock_install
Install a fake clock on the page, overriding Date, setTimeout, setInterval, requestAnimationFrame, and performance.now
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
time | number | no | Initial time as epoch milliseconds (optional) | |
timezone | string | no | IANA timezone ID to override (e.g. 'America/New_York', 'Europe/London') |
page_clock_pause_at
Jump the fake clock to a specific time and pause — no timers fire until resumed or advanced
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
time | number | yes | Time as epoch milliseconds to pause at |
page_clock_resume
Resume real-time progression from the current fake clock time
No parameters.
page_clock_run_for
Advance the fake clock by N milliseconds, firing all time-related callbacks systematically
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ticks | number | yes | Number of milliseconds to advance |
page_clock_set_fixed_time
Freeze Date.now() at a specific value permanently. Timers still run.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
time | number | yes | Time as epoch milliseconds to freeze at |
page_clock_set_system_time
Set Date.now() to a specific value without triggering any timers
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
time | number | yes | Time as epoch milliseconds to set |
page_clock_set_timezone
Override the browser timezone. Pass an IANA timezone ID (e.g. 'America/New_York'), or empty string to reset to system default
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
timezone | string | yes | IANA timezone ID (e.g. 'America/New_York', 'Europe/London', 'Asia/Tokyo'). Empty string resets to system default. |