Skip to main content
Glama

navigate

Directs the browser to a specified URL for web page interaction and consent management testing within the Autoconsent MCP server environment.

Instructions

Navigate to any URL in the browser

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to navigate to

Implementation Reference

  • The handler function for the 'navigate' tool. It uses Puppeteer to navigate the browser page to the provided URL and returns a success message.
    case "navigate": await page.goto(args.url, { waitUntil: "domcontentloaded" }); return { content: [ { type: "text", text: `Navigated to ${args.url}`, }, ], isError: false, };
  • Input schema for the 'navigate' tool, defining a required 'url' string parameter.
    inputSchema: { type: "object", properties: { url: { type: "string", description: "URL to navigate to" }, }, required: ["url"], },
  • src/index.ts:21-31 (registration)
    Registration of the 'navigate' tool in the TOOLS array, including name, description, and input schema.
    { name: "navigate", description: "Navigate to any URL in the browser", inputSchema: { type: "object", properties: { url: { type: "string", description: "URL to navigate to" }, }, required: ["url"], }, },

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