navigate
Navigate a Firefox tab to a URL, adding https:// if missing, or move backward/forward through tab history. Returns after page load completes.
Instructions
Send a tab to an address, or walk that tab through the history it has already built. Only url is always required. For an ordinary address you may leave tabId out when navigate is called on its own: the session's tab group is opened or reused for you (the work tabs_context_mcp{createIfEmpty:true} does), the group's first tab is driven, and the refreshed listing is printed under the result so the ids are in front of you for the next call. Two cases have no fallback and fail without a tabId: url set to "back" or "forward", and any navigate running inside browser_batch, where a guessed tab would be the one that existed before the batch opened its own. Name the tab yourself whenever the group holds several pages and the others are mid-task. The call returns after loading settles, which retires every ref_N an earlier read_page handed out - read the page again before using refs. In Firefox the page opens in the automation profile this server launched, apart from your everyday windows and with no per-site approval step; a load parked behind an alert or a beforeunload prompt is cleared with firefox_dialog instead of ending the session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Where to go: a full address, or a bare one such as example.com or localhost:3000, which gets https:// put in front of it when no scheme is present. The two literal words "back" and "forward" (case ignored) load nothing new and move one entry through this tab's own history instead. | |
| tabId | No | Which tab of this session's group does the navigating; ids come from tabs_context_mcp. Omit it only for a plain address in a standalone call, where the group's first tab is used and a group is opened if none exists yet. It is mandatory for "back" and "forward", mandatory for every navigate inside browser_batch, and worth passing whenever one particular page has to be the one that moves. |