browser_navigate_forward
Navigate forward to the next page in browser history during web automation tasks.
Instructions
Go forward to the next page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/navigate.ts:68-72 (handler)The handler function for 'browser_navigate_forward' that performs the forward navigation in the browser tab using Playwright's page.goForward() method, includes a snapshot in the response, and adds the corresponding code snippet.handle: async (tab, params, response) => { await tab.page.goForward(); response.setIncludeSnapshot(); response.addCode(`await page.goForward();`); },
- src/tools/navigate.ts:61-67 (schema)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', },
- src/tools/navigate.ts:75-79 (registration)Exports the 'browser_navigate_forward' tool (as goForward) along with others for inclusion in the central tools list.export default [ navigate, goBack, goForward, ];
- src/tools.ts:36-52 (registration)Central registration of all tools, spreading the navigate tools (including browser_navigate_forward) into the allTools array used by the MCP server backend.export const allTools: Tool<any>[] = [ ...common, ...console, ...dialogs, ...evaluate, ...files, ...install, ...keyboard, ...navigate, ...network, ...mouse, ...pdf, ...screenshot, ...snapshot, ...tabs, ...wait, ];