Browser (user): inspect and act
navig_browser_userControl the operator's browser: list tabs, read snapshots, capture console/network, take screenshots, and automate clicks, typing, and scrolling. Returns tab IDs and page data.
Instructions
Work with the operator's own browser through Dock: list tabs, read snapshots/text, read console/network (the first call starts capture), screenshot, or act (open/click/type/scroll) under a visible overlay. Screenshots write a file. Use navig_browser_debug for a NAVIG-launched debug browser; this never silently falls back to one. Returns tab ids, page text/tree, capture entries, or per-step results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | The doc id from the snapshot the refs came from. Used by: act. | |
| ref | No | Element ref to capture instead of the whole viewport Used by: screenshot. | |
| url | No | http(s) address; empty opens a blank tab. Used by: open. | |
| clear | No | Clear the buffered console entries after reading them Used by: console, network. | |
| close | No | Close the Dock session after releasing the tab (default: keep it open) Used by: release. | |
| limit | No | Maximum entries to return Used by: console, network. | |
| since | No | rev of your last snapshot of this page → diff only. Used by: snapshot. | |
| action | Yes | Operation to perform. Required parameters per action: status: none; tabs: none; snapshot: tab_id; text: tab_id; screenshot: tab_id; console: tab_id; network: tab_id; open: none; act: tab_id, actions; release: tab_id. What each action does: status: Is the user's own Chrome (NAVIG Dock) connected for agent control? Shows paused/connected state and latency (required: none) | tabs: List the tabs agents may use: the 'NAVIG agents' tab group in the user's browser (tabs you opened plus any the user dragged into the group) (required: none) | snapshot: Read a tab as a compact accessibility outline: one line per element with [ref_N] handles for dock_act (required: tab_id) | text: The readable text of a tab's main content (article/main or body) (required: tab_id) | screenshot: A JPEG of the tab's visible area (or one element: ref), at most max_width px wide (required: tab_id) | console: Console messages and uncaught errors of a tab (required: tab_id) | network: Requests a tab made (url with secrets redacted, method, type, status, failures) (required: tab_id) | open: Open a new tab in the user's browser inside the 'NAVIG agents' group and return its tab_id (required: none) | act: Act in a tab with trusted input — up to 12 steps in ONE call (required: tab_id, actions) | release: Hand a tab back when you are done (required: tab_id) | |
| active | No | Bring the tab to the front. Used by: open. | |
| filter | No | Only return elements whose text or role matches this substring Used by: snapshot. | interactive |
| tab_id | No | Tab id from dock_tabs or dock_open. Used by: snapshot, text, screenshot, console, network, act, release. | |
| actions | No | Ordered steps, run one after another; the first failure stops the batch and later steps are skipped (results say which ran). Each step is {"action": verb, …}. TARGET = ref (a [ref_N] from dock_snapshot) OR a locator: role (+ name), testid, css, has_text or xpath (+ nth, 1-based) — a locator matching several elements fails as ambiguous, never guesses. Verbs: click {TARGET | x,y, button?, clicks?} · type {text, TARGET?, clear?, submit?} · fill {TARGET, value} (sets a field / checkbox / dropdown directly — fastest) · key {keys e.g. "Control+a"} · scroll {direction up|down, amount? | TARGET} · hover {TARGET | x,y} · select {TARGET, value} · navigate {url | back | forward | reload} · wait {ms ≤ 5000} · wait_for {locator | url_contains, gone?, timeout_ms ≤ 15000} (event driven) · extract {TARGET, attr?, max?} (text / links of matching elements) · get_text {} · upload {TARGET (a file input), files: [absolute paths on this computer]} (the user confirms on the page). click / type / key / navigate take dialog: accept|dismiss for an alert/confirm/prompt the step opens (default dismiss; prompt_text answers a prompt). Typing into a password or card field asks the user first. Used by: act. | |
| observe | No | true: the page outline after the steps (default); "diff": only what changed; false: nothing. Used by: act. | |
| pattern | No | Only return entries whose text matches this substring Used by: console. | |
| quality | No | Compression quality (1-100) for the returned image Used by: screenshot. | |
| max_chars | No | Truncate the extracted text to this many characters Used by: text. | |
| max_width | No | Downscale the image to at most this width in pixels Used by: screenshot. | |
| deadline_ms | No | Milliseconds to wait for the action to complete Used by: act. | |
| failed_only | No | Only return failed requests (status >= 400 or no response) Used by: network. | |
| only_errors | No | Only return error-level console entries Used by: console. | |
| url_pattern | No | Only return requests whose URL matches this substring Used by: network. |