switch_tab
Switch to a specific browser tab to interact with its content, enabling focused automation tasks within browser sessions.
Instructions
Switch to a specific browser tab and return the tab info object
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>",
"page_id": "<page_id>"
},
"name": "switch_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| page_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Tab ID | |
| url | Yes | Tab URL | |
| title | Yes | Tab title | |
| is_active | Yes | Whether this is the active tab |