Skip to main content
Glama

WebScout MCP

by pyscout

switch_tab

Switch between open browser tabs to interact with content in different tabs. Use when links open new tabs or you need to access multiple pages during web automation sessions.

Instructions

Switch the active browser tab when multiple tabs are open in the session. Common scenario: clicking a link that opens a chat in a new tab requires switching to that tab to interact with it. Use get_current_page_info first to see all available tabs and their indices.

Input Schema

NameRequiredDescriptionDefault
sessionIdYesSession ID obtained from initialize_session
tabIndexYesZero-based index of the tab to switch to (0 = first tab, 1 = second tab, etc.). Use get_current_page_info to see available tabs.

Input Schema (JSON Schema)

{ "properties": { "sessionId": { "description": "Session ID obtained from initialize_session", "type": "string" }, "tabIndex": { "description": "Zero-based index of the tab to switch to (0 = first tab, 1 = second tab, etc.). Use get_current_page_info to see available tabs.", "type": "number" } }, "required": [ "sessionId", "tabIndex" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pyscout/webscout-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server