browser_keep_alive
Keeps tabs loaded during parallel multi-tab workflows by pinging them at intervals to reset Zen's Tab Unloader idle timer, preventing mid-task discarding.
Instructions
Keep tabs warm so Zen's Tab Unloader won't discard them mid-workflow.
Starts a background pinger in the bridge that fires a no-op JS evaluation at each listed tab on the given interval. Any script access resets Zen's idle timer, so the tabs stay loaded. Replaces any existing keep-alive for the same tabs (use a new interval to change cadence).
Use this at the start of parallel multi-tab work: open your tabs, call browser_keep_alive with their IDs, drive them in parallel via browser_parallel or by passing tab_id to individual commands, then browser_keep_alive_stop when done. The pinger auto-stops if the bridge restarts.
Args: tab_ids: Tab IDs to keep loaded. interval_seconds: How often to ping each tab. Minimum 10s, default 60s. Should be well under Zen's unloader timeout (commonly 20+ minutes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_ids | Yes | ||
| interval_seconds | No |