Skip to main content
Glama

reload

Refresh the current web page to test consent management platforms and rules in a browser automation environment.

Instructions

Reload the current page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler logic for the 'reload' tool within the handleToolCall switch statement. Reloads the current browser page using Puppeteer and returns a success message with the current URL.
    case "reload": await page.reload({ waitUntil: "domcontentloaded" }); const currentUrl = page.url(); return { content: [ { type: "text", text: `Reloaded page: ${currentUrl}`, }, ], isError: false, };
  • Input schema definition for the 'reload' tool, specifying an empty object with no required properties.
    inputSchema: { type: "object", properties: {}, required: [], },
  • src/index.ts:32-40 (registration)
    Registration of the 'reload' tool in the TOOLS array, which is served via the MCP ListTools handler.
    { name: "reload", description: "Reload the current page", inputSchema: { type: "object", properties: {}, required: [], }, },

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/noisysocks/autoconsent-mcp'

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