move_tab
Move an existing tab to another window or into a new popup window, preserving its history and page state. Destination must be a normal browser window.
Instructions
Move an existing tab into another window (chrome.tabs.move), keeping id, history and page state; works on chrome-untrusted:// tabs too. The destination must be a normal window: out of an app/popup window is fine, into one is refused. A ChromeOS Terminal tab can be pulled out (new_window, window_type popup) but never merged back: extensions cannot create app windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | New window y (new_window) | |
| left | No | New window x (new_window) | |
| index | No | Position in the destination window; -1 appends at the end | |
| width | No | New window width px (new_window) | |
| height | No | New window height px (new_window) | |
| tab_id | Yes | Tab to move; get it from get_tabs | |
| window_id | No | Destination window; get_tabs reports windowId for every tab | |
| new_window | No | Extract the tab into a fresh window instead of an existing one | |
| window_type | No | new_window only: popup has no tab strip nor omnibox, the terminal-window look | normal |