Skip to main content
Glama

pilot_reload

Reload the current web page in the browser automation session to refresh content or resolve loading issues.

Instructions

Reload the current page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the pilot_reload tool handler.
    server.tool(
      'pilot_reload',
      'Reload the current page.',
      {},
      async () => {
        await bm.ensureBrowser();
        try {
          const page = bm.getPage();
          await page.reload({ waitUntil: 'domcontentloaded', timeout: 15000 });
          bm.resetFailures();
          return { content: [{ type: 'text' as const, text: `Reloaded ${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