Skip to main content
Glama

pilot_handoff

Switch to visible Chrome to manually solve CAPTCHAs, bypass bot detection, or complete complex authentication, then resume automated browsing.

Instructions

Open a visible (headed) Chrome window with all current state — cookies, tabs, localStorage. Use when headless mode is blocked by CAPTCHAs, bot detection, or complex auth. The user can solve it manually, then call pilot_resume to continue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the 'pilot_handoff' tool handler. It calls `bm.handoff()` to open a visible browser.
    server.tool(
      'pilot_handoff',
      'Open a visible (headed) Chrome window with all current state — cookies, tabs, localStorage. Use when headless mode is blocked by CAPTCHAs, bot detection, or complex auth. The user can solve it manually, then call pilot_resume to continue.',
      {},
      async () => {
        await bm.ensureBrowser();
        try {
          const result = await bm.handoff();
          return { content: [{ type: 'text' as const, text: result }] };
        } 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