Reopen a tab inside a container
browser_move_tab_to_containerMove a tab into a Firefox container by reopening it in the target user context and closing the original. Use it to switch a page into a container; the page reloads, so in-page state is lost.
Instructions
Reopen the current page in a tab belonging to a container/user context, then close the original (ContextualIdentityService). This is how the tab context menu moves a tab into a container. Get container ids from browser_list_user_contexts; the page reloads, so in-page state is lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab context id to move (default: the active tab) | |
| userContext | Yes | Container id from browser_list_user_contexts |