Skip to main content
Glama

firefox-devtools-mcp

select_page

Switch between browser tabs by index, URL, or title to control which webpage is currently active for automation tasks.

Instructions

Select the active tab by index (preferred), or by matching URL/title. Index takes precedence when multiple parameters are provided.

Input Schema

NameRequiredDescriptionDefault
pageIdxNoThe index of the page to select (e.g., 0, 1, 2). Use list_pages first to see all available page indices. Most reliable method.
titleNoSelect page by title (partial match, case-insensitive). Example: "Google" will match "Google Search - About"
urlNoSelect page by URL (partial match, case-insensitive). Example: "github.com" will match "https://github.com/user/repo"

Input Schema (JSON Schema)

{ "properties": { "pageIdx": { "description": "The index of the page to select (e.g., 0, 1, 2). Use list_pages first to see all available page indices. Most reliable method.", "type": "number" }, "title": { "description": "Select page by title (partial match, case-insensitive). Example: \"Google\" will match \"Google Search - About\"", "type": "string" }, "url": { "description": "Select page by URL (partial match, case-insensitive). Example: \"github.com\" will match \"https://github.com/user/repo\"", "type": "string" } }, "required": [], "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/freema/firefox-devtools-mcp'

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