navigate
Guide a browser tab to a specified URL or move backward/forward through history. Provide tab ID and optionally force navigation past unsaved-change prompts.
Instructions
Navigate to a URL, or go forward/back in browser history. If you don't have a valid tab ID, use tabs_context first to get available tabs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"tabId": "<tabId>"
},
"name": "navigate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to navigate to. Can be provided with or without protocol (defaults to https://). Use "forward" to go forward in history or "back" to go back in history. | |
| force | No | If the page shows a "Leave site?" dialog because of unsaved changes, discard those changes and navigate anyway. Defaults to false: navigation is blocked and an error is returned so you can decide first. | |
| tabId | Yes | Tab ID to navigate. Must be a tab in the current group. Use tabs_context first if you don't have a valid tab ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| tabId | Yes | ||
| title | Yes | ||
| provenance | No |