browser_navigate
Navigate to a specified URL in a browser environment to load web pages for interaction or inspection.
Instructions
Navigate to a URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Implementation Reference
- index.ts:22-23 (registration)Enum definition registering browser_navigate as ToolName.BrowserNavigate
enum ToolName { BrowserNavigate = "browser_navigate", - index.ts:36-47 (schema)Tool definition with input schema for browser_navigate: requires a 'url' string parameter
const TOOLS: Tool[] = [ { name: ToolName.BrowserNavigate, description: "Navigate to a URL", inputSchema: { type: "object", properties: { url: { type: "string" }, }, required: ["url"], }, }, - index.ts:184-192 (handler)Handler implementation: calls page.goto(args.url) to navigate to the URL and returns success message
case ToolName.BrowserNavigate: await page.goto(args.url); return { content: [{ type: "text", text: `Navigated to ${args.url}`, }], isError: false, };