Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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' }; } },
  • The handler function that executes the tool logic for 'go_forward', delegating to browser.goForward() and returning a success response
    handler: async () => { await browser.goForward(); return { success: true, message: 'Went forward to next page' }; }
  • Input schema for the 'go_forward' tool, specifying no required properties
    inputSchema: { type: 'object', properties: {}, required: [] },
  • Supporting helper method in SimpleBrowser class that ensures browser is launched and calls Playwright's page.goForward() for navigation
    async goForward() { await this.ensureLaunched(); await this.page.goForward(); }

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/zypin-testing/zypin-mcp'

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