browser_go_forward
Navigate forward in browser history using Chrome automation, bypassing anti-bot detection for seamless web scraping and testing workflows in restricted environments.
Instructions
Navigate forward in browser history
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_go_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'browser_go_forward' tool. It is decorated with @mcp.tool() for registration. It ensures the browser is available, executes driver.forward() to navigate forward in history, and returns a success response.
@mcp.tool() async def browser_go_forward(): """Navigate forward in browser history""" async def go_forward_handler(driver: uc.Chrome): driver.forward() return await create_success_response("Navigated forward in browser history") return await tool.safe_execute( ToolContext(webdriver=await ensure_browser()), go_forward_handler )