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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"userContext": "<userContext>"
},
"name": "browser_move_tab_to_container"
}
}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 |