babelwrap_switch_page
Switch to a different page or tab within a browsing session by providing the session ID and page index obtained from babelwrap_list_pages.
Instructions
Switch to a different page (tab/popup) within this session.
Use babelwrap_list_pages first to see available pages and their indices.
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": {
"session_id": "<session_id>",
"index": "<index>"
},
"name": "babelwrap_switch_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The active session ID. | |
| index | Yes | The page index to switch to (from babelwrap_list_pages). | |
| compact | No | If True, return a compact snapshot with reduced token usage. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||