browser_navigate_forward
Navigate forward in the browser to return to the next page in browsing history after using the back button.
Instructions
Navigate forward in the browser
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/browserTools.ts:88-105 (handler)Inline handler function for the 'browser_navigate_forward' tool. Retrieves the current WebDriver from StateManager and performs a forward navigation in the browser history, returning a success or error message.server.tool('browser_navigate_forward', 'Navigate forward in the browser', {}, async () => { try { const driver = stateManager.getDriver(); await driver.navigate().forward(); return { content: [{ type: 'text', text: `Navigated forward` }], }; } catch (e) { return { content: [ { type: 'text', text: `Error navigating forward: ${(e as Error).message}`, }, ], }; } });
- src/tools/browserTools.ts:88-105 (registration)Direct registration of the 'browser_navigate_forward' tool using server.tool(), with empty input schema and inline handler.server.tool('browser_navigate_forward', 'Navigate forward in the browser', {}, async () => { try { const driver = stateManager.getDriver(); await driver.navigate().forward(); return { content: [{ type: 'text', text: `Navigated forward` }], }; } catch (e) { return { content: [ { type: 'text', text: `Error navigating forward: ${(e as Error).message}`, }, ], }; } });
- src/tools/index.ts:9-9 (registration)Invocation of registerBrowserTools within registerAllTools, which registers the browser_navigate_forward tool among others.registerBrowserTools(server, stateManager);