Skip to main content
Glama

browser_navigate

Direct a browser to specified URLs during web application penetration testing to facilitate automated vulnerability detection, including XSS and SQL injection.

Instructions

Navigate to a URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Implementation Reference

  • The core handler logic for the 'browser_navigate' tool. It navigates the browser page to the specified URL using Playwright's page.goto method and returns a success confirmation.
    case ToolName.BrowserNavigate: await page.goto(args.url); return { content: [{ type: "text", text: `Navigated to ${args.url}`, }], isError: false, };
  • Input schema definition for the browser_navigate tool, specifying an object with a required 'url' string property.
    inputSchema: { type: "object", properties: { url: { type: "string" }, }, required: ["url"], },
  • index.ts:39-49 (registration)
    Registration of the 'browser_navigate' tool in the TOOLS array, including name (ToolName.BrowserNavigate), description, and input schema. This array is used in the ListToolsRequestSchema handler.
    { name: ToolName.BrowserNavigate, description: "Navigate to a URL", inputSchema: { type: "object", properties: { url: { type: "string" }, }, required: ["url"], }, },
  • Enum definition mapping ToolName.BrowserNavigate to the string 'browser_navigate', used in tool registration and handler switch.
    BrowserNavigate = "browser_navigate",

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/9olidity/MCP-Server-Pentest'

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