go_forward
Navigate to the next page in browser automation workflows. Use this tool to advance forward through web page history during automated browsing sessions.
Instructions
Go forward to the next page
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools-playwright.js:45-57 (registration)Registration of the 'go_forward' MCP tool object, including name, description, input schema, and inline handler function within the createPlaywrightTools array{ name: 'go_forward', description: 'Go forward to the next page', inputSchema: { type: 'object', properties: {}, required: [] }, handler: async () => { await browser.goForward(); return { success: true, message: 'Went forward to next page' }; } },
- tools-playwright.js:53-56 (handler)The handler function that executes the tool logic for 'go_forward', delegating to browser.goForward() and returning a success responsehandler: async () => { await browser.goForward(); return { success: true, message: 'Went forward to next page' }; }
- tools-playwright.js:48-52 (schema)Input schema for the 'go_forward' tool, specifying no required propertiesinputSchema: { type: 'object', properties: {}, required: [] },
- browser.js:74-77 (helper)Supporting helper method in SimpleBrowser class that ensures browser is launched and calls Playwright's page.goForward() for navigationasync goForward() { await this.ensureLaunched(); await this.page.goForward(); }