Skip to main content
Glama

reload

Initiate a page reload in the browser to refresh the current web page, useful for testing Autoconsent rules or resetting interactions in a real browser environment.

Instructions

Reload the current page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'reload' tool. It reloads the current browser page using puppeteer and returns a confirmation 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, };
  • src/index.ts:32-40 (registration)
    Registration of the 'reload' tool in the TOOLS array, including name, description, and empty input schema (no parameters required).
    { name: "reload", description: "Reload the current page", inputSchema: { type: "object", properties: {}, required: [], }, },
  • Input schema for the 'reload' tool, defining an empty object (no required parameters).
    inputSchema: { type: "object", properties: {}, required: [], },

Other Tools

Related Tools

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