Skip to main content
Glama

browser_navigate_forward

Navigate forward to the next page in a web browser using Playwright MCP for structured browser automation.

Instructions

Go forward to the next page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'browser_navigate_forward' tool. It retrieves the current tab and calls goForward() on its page, then returns a code snippet and other metadata.
    handle: async context => { const tab = context.currentTabOrDie(); await tab.page.goForward(); const code = [ `// Navigate forward`, `await page.goForward();`, ]; return { code, captureSnapshot, waitForNetwork: false, }; },
  • Zod schema definition for the 'browser_navigate_forward' tool, specifying name, title, description, empty input schema, and readOnly type.
    schema: { name: 'browser_navigate_forward', title: 'Go forward', description: 'Go forward to the next page', inputSchema: z.object({}), type: 'readOnly', },
  • Module-level registration exporting an array of navigation tools, including the browser_navigate_forward tool via goForward.
    export default (captureSnapshot: boolean) => [ navigate(captureSnapshot), goBack(captureSnapshot), goForward(captureSnapshot), ];
  • src/tools.ts:36-52 (registration)
    Top-level registration of snapshotTools array, which includes navigation tools (containing browser_navigate_forward) via ...navigate(true).
    export const snapshotTools: Tool<any>[] = [ ...common(true), ...console, ...dialogs(true), ...files(true), ...install, ...keyboard(true), ...navigate(true), ...network, ...pdf, ...screenshot, ...snapshot, ...tabs(true), ...testing, ...video, ...wait(true), ];
  • src/tools.ts:54-69 (registration)
    Top-level registration of visionTools array, which includes navigation tools (containing browser_navigate_forward) via ...navigate(false).
    export const visionTools: Tool<any>[] = [ ...common(false), ...console, ...dialogs(false), ...files(false), ...install, ...keyboard(false), ...navigate(false), ...network, ...pdf, ...tabs(false), ...testing, ...video, ...vision, ...wait(false), ];

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/lewisvoncken/playwright-mcp'

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