Skip to main content
Glama

browser_go_forward

Navigate forward to the next page in a browser instance when using the Concurrent Browser MCP server. This tool moves forward in the browsing history after going back.

Instructions

Go forward to the next page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceIdYesInstance ID

Implementation Reference

  • The main handler function for the 'browser_go_forward' tool. It retrieves the browser instance and calls Playwright's page.goForward() method.
    private async goForward(instanceId: string): Promise<ToolResult> { const instance = this.browserManager.getInstance(instanceId); if (!instance) { return { success: false, error: `Instance ${instanceId} not found` }; } try { await instance.page.goForward(); return { success: true, data: { url: instance.page.url() }, instanceId }; } catch (error) { return { success: false, error: `Go forward failed: ${error instanceof Error ? error.message : error}`, instanceId }; } }
  • src/tools.ts:527-528 (registration)
    The switch case in executeTools that routes calls to the goForward handler.
    case 'browser_go_forward': return await this.goForward(args.instanceId);
  • The tool definition including name, description, and input schema, registered in getTools().
    { name: 'browser_go_forward', description: 'Go forward to the next page', inputSchema: { type: 'object', properties: { instanceId: { type: 'string', description: 'Instance ID' } }, required: ['instanceId'] } },

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/sailaoda/concurrent-browser-mcp'

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