Skip to main content
Glama

pilot_forward

Navigate forward in browser history to revisit previously viewed pages during automated web browsing sessions.

Instructions

Go forward in browser history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the pilot_forward tool handler within registerNavigationTools.
    server.tool(
      'pilot_forward',
      'Go forward in browser history.',
      {},
      async () => {
        await bm.ensureBrowser();
        try {
          const page = bm.getPage();
          await page.goForward({ waitUntil: 'domcontentloaded', timeout: 15000 });
          bm.resetFailures();
          return { content: [{ type: 'text' as const, text: `Forward → ${page.url()}` }] };
        } catch (err) {
          bm.incrementFailures();
          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