tab_action
Perform browser tab operations: close, activate, reload, navigate, mute, unmute, or duplicate. Includes discard to free memory and duplicate for restricted pages.
Instructions
Tab lifecycle: close, activate (focus), reload (optional cache bypass), back, forward. close discards the tab and anything unsaved in it, and cannot be undone — it may be a tab the user is working in. reload and navigation drop injected CSS, emulations and page hooks. duplicate works where create_tab is forbidden (chrome-untrusted://, verified on a ChromeOS Terminal tab) and lands in the source tab's own window, app windows included — the only way to open a new Terminal session inside the Terminal window. discard replaces the tab id: the result carries the new one, saved ids go stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | close cannot be undone; discard frees memory, the tab reloads on focus; reload drops injected CSS and hooks | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| bypass_cache | No | reload only |