Skip to main content
Glama

browser_go_forward

Navigate forward to the next page in a browser instance managed by Concurrent Browser MCP. Use instance ID to control specific browser sessions for efficient multi-instance navigation.

Instructions

Go forward to the next page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceIdYesInstance ID

Implementation Reference

  • The private goForward method implements the core logic of the browser_go_forward tool. It retrieves the browser instance, calls page.goForward(), and returns success with current URL or error.
    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:136-149 (registration)
    Tool registration in the getTools() method's return array, defining the name, description, and input schema requiring instanceId.
    { name: 'browser_go_forward', description: 'Go forward to the next page', inputSchema: { type: 'object', properties: { instanceId: { type: 'string', description: 'Instance ID' } }, required: ['instanceId'] } },
  • src/tools.ts:527-528 (registration)
    Switch case in executeTools method that handles the tool invocation by calling the goForward handler.
    case 'browser_go_forward': return await this.goForward(args.instanceId);
  • Input schema definition for the browser_go_forward tool, specifying the required instanceId parameter.
    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