pilot_forward
Navigate forward in browser history to revisit previously viewed pages during automated web browsing sessions.
Instructions
Go forward in browser history.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/navigation.ts:46-62 (handler)Implementation of the pilot_forward tool handler within registerNavigationTools.
server.tool( 'pilot_forward', 'Go forward in browser history.', {}, async () => { await bm.ensureBrowser(); try { const page = bm.getPage(); await page.goForward({ waitUntil: 'domcontentloaded', timeout: 15000 }); bm.resetFailures(); return { content: [{ type: 'text' as const, text: `Forward → ${page.url()}` }] }; } catch (err) { bm.incrementFailures(); return { content: [{ type: 'text' as const, text: wrapError(err) }], isError: true }; } } );