Skip to main content
Glama

pilot_tab_new

Open a new browser tab in Pilot's persistent Chromium instance, optionally navigating to a specific URL for automated web interactions.

Instructions

Open a new browser tab, optionally navigating to a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to navigate to in the new tab

Implementation Reference

  • The handler implementation for pilot_tab_new which uses BrowserManager to create a new tab.
    server.tool(
      'pilot_tab_new',
      'Open a new browser tab, optionally navigating to a URL.',
      { url: z.string().optional().describe('URL to navigate to in the new tab') },
      async ({ url }) => {
        await bm.ensureBrowser();
        try {
          const id = await bm.newTab(url);
          return { content: [{ type: 'text' as const, text: `Opened tab ${id}${url ? ` → ${url}` : ''}` }] };
        } catch (err) {
          return { content: [{ type: 'text' as const, text: wrapError(err) }], isError: 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/TacosyHorchata/Pilot'

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