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
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Implementation Reference
- index.ts:210-218 (handler)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, };
- index.ts:42-48 (schema)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"], }, },
- index.ts:23-23 (helper)Enum definition mapping ToolName.BrowserNavigate to the string 'browser_navigate', used in tool registration and handler switch.BrowserNavigate = "browser_navigate",