Skip to main content
Glama

pilot_tabs

List all open browser tabs with URLs, titles, and active status for browser automation tasks.

Instructions

List all open browser tabs with URLs, titles, and active status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'pilot_tabs' tool, which fetches and lists browser tabs.
    server.tool(
      'pilot_tabs',
      'List all open browser tabs with URLs, titles, and active status.',
      {},
      async () => {
        await bm.ensureBrowser();
        try {
          const tabs = await bm.getTabListWithTitles();
          const text = tabs.map(t =>
            `${t.active ? '→ ' : '  '}[${t.id}] ${t.title || '(untitled)'} — ${t.url}`
          ).join('\n');
          return { content: [{ type: 'text' as const, text }] };
        } catch (err) {
          return { content: [{ type: 'text' as const, text: wrapError(err) }], isError: true };
        }
      }
  • Registration of the tab tools, including 'pilot_tabs', within the main registration module.
    registerTabTools(effectiveServer, bm);

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