Skip to main content
Glama

browser_tabs

Manage browser tabs within isolated Playwright sessions to resolve session conflicts and enable concurrent browsing tasks.

Instructions

Manage tabs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
indexNo

Implementation Reference

  • index.js:367-380 (registration)
    The 'browser_tabs' tool is registered using server.tool, and it uses proxyToolCall to delegate the execution.
    server.tool('browser_tabs', 'Manage tabs', {
      action: z.enum(['list', 'new', 'close', 'select']),
      index: z.number().optional()
    }, async (args) => {
      // 'new' action can work without active page, others require it
      if (args.action !== 'new') {
        const check = requireActivePage();
        if (check) return check;
      }
      const result = await proxyToolCall('browser_tabs', args);
      // 'new' action creates a page
      if (args.action === 'new' && !result.isError) {
        hasActivePage = true;
      }

Latest Blog Posts

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/OMGEverdo/browser-pool-mcp'

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