Stealth Web Search

Tool reference

The server exposes 51 tools (the 6 agents tools only when a model is configured in config/models.json or with AGENT_LLM_URL). Limit them with TOOLSETS (for example TOOLSETS=core,content), which helps small local models.

GroupToolsPurpose
corebrowser_navigate, browser_back, browser_forward, browser_reload, browser_snapshot, browser_click, browser_fill, browser_type, browser_press_key, browser_select_option, browser_check, browser_scroll, browser_wait_for, browser_wait_for_text, browser_wait, browser_screenshotNavigate, read the page, interact, wait and take screenshots. Enough for most tasks.
contentbrowser_interactive_elements, browser_markdown, browser_links, browser_search, browser_extract, browser_count, browser_get_attribute, browser_get_textToken-efficient reading and structured extraction.
formsbrowser_detect_forms, browser_fill_formUnderstand and fill whole forms in one call.
tabsbrowser_tab_new, browser_tab_list, browser_tab_switch, browser_tab_close, browser_closeMultiple tabs (all tabs share cookies).
statebrowser_get_cookies, browser_set_cookie, browser_clear_cookies, browser_storage_state, browser_set_storage_stateCookies and saved sessions (skip logins).
debugbrowser_evaluate, browser_console_messages, browser_network_requestsRun JavaScript, read console output and network activity.
capturebrowser_pdf, browser_set_viewportPDF export and viewport size.
agentsagent_run, agent_automate, agent_find, agent_wait, agent_status, agent_cancelHand whole jobs to sub-agents with their own isolated browser (needs a model: config/models.json or AGENT_LLM_URL). See AGENTS.md.
scriptsscript_list, script_get, script_run, script_deleteStored automation scripts made by agent_automate: list, inspect, run (no model needed) and delete.

Group core

browser_navigate

Navigate to URL. Open a URL in the current tab and wait for the page (including its JavaScript) to load. Returns the final URL, page title and HTTP status. Call browser_snapshot next to read the page and get element refs.

changes page state, interacts with websites

ParameterTypeRequiredDescription
urlstringyesThe URL to open, e.g. "https://example.com". A missing scheme defaults to https://
waitUntil"load" | "domcontentloaded" | "networkidle0"noWhen navigation is considered done (default "load"; use "networkidle0" for pages that load data after load)

browser_back

Go back. Go back to the previous page in this tab's history (like the browser back button).

changes page state, interacts with websites

No parameters.

browser_forward

Go forward. Go forward to the next page in this tab's history.

changes page state, interacts with websites

No parameters.

browser_reload

Reload page. Reload the current page.

changes page state, interacts with websites

No parameters.

browser_snapshot

Read page. Read the current page: URL, title, scroll position, the readable text, and a list of interactive elements (links, buttons, inputs…) each with a ref like "e3". Pass a ref to browser_click, browser_fill, browser_type, etc. Refs stay valid until the page navigates. Call this after navigating or whenever the page may have changed.

read-only, interacts with websites

ParameterTypeRequiredDescription
max_charsintegernoMaximum characters of page text (default 4000)
include_elementsbooleannoInclude the interactive element list (default true)
max_elementsintegernoMaximum interactive elements to list (default 100)

browser_click

Click element. Click an element (link, button, checkbox, …) identified by ref (from browser_snapshot) or CSS selector. The element is scrolled into view and clicked with real mouse events; if the click navigates, the new page is loaded before returning.

changes page state, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
double_clickbooleannoDouble-click instead of a single click

browser_fill

Fill field. Replace the value of a text input, textarea, contenteditable element or <select> (identified by ref or CSS selector) with the given value. Fires focus, input and change events like a real edit. Use browser_type to append text instead, browser_check for checkboxes/radios, and browser_fill_form to fill several fields at once.

changes page state, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
valuestringyesThe new value; replaces any existing text

browser_type

Type text. Type text into a field like a user: focuses it and appends the text at the end of the existing value (use browser_fill to replace the value). Set submit=true to press Enter afterwards, e.g. to run a search or submit a login form; if that navigates, the new page is loaded before returning.

changes page state, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
textstringyesText to type (appended to the current value)
submitbooleannoPress Enter after typing (default false)

browser_press_key

Press key. Press a single key, optionally on an element (ref or selector) which is focused first; otherwise the key goes to the currently focused element. Supported: Enter, Tab, Shift+Tab, Escape, Backspace, Delete, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End, PageUp, PageDown, Space, or a single printable character. Enter submits the form of a focused field (via its submit button) or activates a focused link/button, Tab/Shift+Tab move focus, Backspace/Delete edit text, PageDown/PageUp/Home/End/Space scroll the page when no text field is focused. The page's key handlers run first; if one cancels the key, the result says so. Modifier combinations (Control+A, Meta+C, Alt+…) are not supported because the browser ignores modifier keys. Use browser_type for text.

changes page state, interacts with websites

ParameterTypeRequiredDescription
keystringyesKey name, e.g. "Enter", "Tab", "Escape", "ArrowDown", "PageDown", or one character such as "a"
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available

browser_select_option

Select option. Choose an option in a <select> dropdown by its value or visible text (case-insensitive). For a multi-select pass values with every option that should end up selected. For custom (non-<select>) dropdowns use browser_click.

changes page state, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
valuestringnoOption value or visible text to select
valuesstring[]noSeveral options to select (multi-select only)

browser_check

Check or uncheck. Check or uncheck a checkbox, or select a radio button (ref or CSS selector). Idempotent: reports when it was already in the requested state. Pass checked=false to uncheck a checkbox.

changes page state, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
checkedbooleannotrue to check (default), false to uncheck

browser_scroll

Scroll. Scroll the page (direction top|bottom|up|down|left|right, default down by one viewport) or scroll an element (ref or selector) into view. Use "bottom" to trigger infinite-scroll loaders, then browser_snapshot to read the new content.

changes page state, interacts with websites

ParameterTypeRequiredDescription
direction"top" | "bottom" | "up" | "down" | "left" | "right"noWhere to scroll the page (default "down")
amountnumbernoPixels to scroll for up/down/left/right (default one viewport)
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available

browser_wait_for

Wait for element. Wait until an element matching a CSS selector is visible (default), attached, hidden or detached. Use after an action that loads content asynchronously (search results, dialogs, lazy lists) before reading or clicking it.

read-only, interacts with websites

ParameterTypeRequiredDescription
selectorstringyesCSS selector to wait for, e.g. "#results li"
state"visible" | "attached" | "hidden" | "detached"no"visible" (default): present with a non-empty box; "attached": present in the DOM; "hidden": missing or invisible; "detached": removed from the DOM
timeoutnumbernoMaximum seconds to wait (default 30, max 120; fractions allowed)

browser_wait_for_text

Wait for text. Wait until a piece of text is visible on the page (case-sensitive substring; runs of whitespace match any whitespace), or until it is no longer visible with gone=true. Text inside scripts or hidden elements does not count. Use to wait for a result or confirmation message, or for a "Loading…" indicator to go away.

read-only, interacts with websites

ParameterTypeRequiredDescription
textstringyesText to look for (case-sensitive substring of the visible page text)
gonebooleannoWait for the text to disappear instead (default false)
timeoutnumbernoMaximum seconds to wait (default 30, max 120; fractions allowed)

browser_wait

Wait. Pause for a number of seconds so the page can finish animations or background loading. Prefer browser_wait_for or browser_wait_for_text when you know what you are waiting for.

read-only, interacts with websites

ParameterTypeRequiredDescription
secondsnumberyesSeconds to wait (max 30; fractions allowed)

browser_screenshot

Take screenshot. Capture a screenshot of the current viewport (or the full page, or one element) as an image. Use browser_snapshot to read text; use this to check visual layout.

read-only, interacts with websites

ParameterTypeRequiredDescription
full_pagebooleannoCapture the whole scrollable page instead of just the viewport
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
format"png" | "jpeg"noImage format (default "png")
qualityintegernoJPEG quality 1-100 (default 80)

Group content

browser_interactive_elements

List interactive elements. List clickable and typeable elements on the current page with refs (e.g. "e3") for browser_click / browser_fill / browser_type. Use include_hidden to also list elements that are not currently visible.

read-only, interacts with websites

ParameterTypeRequiredDescription
limitintegernoMaximum number of elements (default 100)
include_hiddenbooleannoAlso list hidden / zero-size elements (default false)
selectorstringnoOnly list elements inside the first element matching this CSS selector

browser_markdown

Read page as Markdown. Return the current page (or one element) as Markdown: headings, paragraphs, lists, tables, code blocks, quotes, links and images with absolute URLs. Best for reading articles, docs and other long content; use browser_snapshot instead when you need element refs to interact.

read-only, interacts with websites

ParameterTypeRequiredDescription
max_charsintegernoMaximum characters to return (default 8000); longer output is truncated
selectorstringnoCSS selector of the element to convert (e.g. "main", "article"); omit for the whole page

List links. List the links on the current page, one JSON object per line: {"text","href"} with absolute, de-duplicated URLs (javascript: links are skipped). Use it to decide where to navigate next; narrow the list with internal_only or filter.

read-only, interacts with websites

ParameterTypeRequiredDescription
limitintegernoMaximum number of links to return (default 100)
internal_onlybooleannoOnly links on the same origin (scheme, host and port) as the current page
filterstringnoOnly links whose text or URL contains this text (case-insensitive)

Search page text. Find a word or phrase in the page text (the same text browser_snapshot shows) and return each match with surrounding context. Use it to check that content exists or to locate a section before reading or scraping it. Each match is a JSON line {"offset","snippet"}; offset is the JavaScript string index (UTF-16 code units) of the match in that text.

read-only, interacts with websites

ParameterTypeRequiredDescription
querystringyesText to find (plain text, not a regular expression; spaces also match line breaks)
case_sensitivebooleannoMatch letter case exactly (default false)
limitintegernoMaximum matches to return (default 10)
context_charsintegernoCharacters of context on each side of a match (default 80)

browser_extract

Extract structured data. Extract structured data from the page with CSS selectors and get one JSON object back. schema maps each output field to a selector: {"title": "h1"} gives the text of the first match; end the field name with [] for all matches as an array ({"prices[]": ".price"}); end the selector with @attribute to read an attribute ({"links[]": "a.result@href"}; href/src become absolute URLs, @value and @checked give the current state of form fields). Missing elements give null (or [] for arrays).

read-only, interacts with websites

ParameterTypeRequiredDescription
schemaobjectyesObject mapping field name to CSS selector string, e.g. {"title": "h1", "items[]": "li.item", "image": "img.hero@src"}
max_charsintegernoMaximum characters of JSON to return (default 20000); longer output is truncated

browser_count

Count matching elements. Count the elements on the current page that match a CSS selector. A cheap way to check that something exists, how many results or rows a page has, or whether more items loaded.

read-only, interacts with websites

ParameterTypeRequiredDescription
selectorstringyesCSS selector, e.g. ".result" or "table#prices tbody tr"

browser_get_attribute

Read element attribute. Read one attribute of an element (href, src, value, class, aria-, data-, …) identified by ref (from browser_snapshot) or CSS selector. Returns the raw attribute value as written in the HTML (relative URLs stay relative; use browser_extract with "@href" for absolute URLs). Exception: "value" of inputs, textareas and selects and "checked" of checkboxes/radios return the current state (what was typed or toggled; "true"/"false" for checked), not the HTML default.

read-only, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
attributestringyesAttribute name, e.g. "href", "value", "data-id"

browser_get_text

Read element text. Read the text of one element identified by ref (from browser_snapshot) or CSS selector: one line per block, whitespace collapsed. For inputs, textareas and selects it returns the current value. Use browser_markdown to read a whole section with its structure.

read-only, interacts with websites

ParameterTypeRequiredDescription
refstringnoElement ref from browser_snapshot, e.g. "e3" (preferred)
selectorstringnoCSS selector, used when no ref is available
max_charsintegernoMaximum characters to return (default 4000)

Group forms

browser_detect_forms

Detect forms. List every <form> on the page with its action, method and fields (type, name, label, current value, options for selects), each with a ref usable in browser_fill_form, browser_fill, browser_check, browser_select_option and browser_click. Use it to understand a form before filling it. Password values are masked.

read-only, interacts with websites

No parameters.

browser_fill_form

Fill form. Fill several form fields in one call, then optionally click a submit button (submit_ref or submit_selector) and wait for the resulting page. Each field is {ref or selector, value, type?}; type is inferred when omitted (checkboxes accept value "true"/"false"; for a radio button, value may name any option of its group by value or label). Per-field errors are reported; the form is not submitted if any field failed.

changes page state, interacts with websites

ParameterTypeRequiredDescription
fieldsobject[]yesFields to fill, in order
submit_refstringnoRef of the button to click after filling (e.g. the submit button)
submit_selectorstringnoCSS selector of the button to click after filling

Group tabs

browser_tab_new

Open new tab. Open a new browser tab, optionally loading a URL, and make it the active tab (all other browser tools then act on it). All tabs share cookies. Obscura v0.2.2 limitation: a background tab may lose its in-page JavaScript state (variables, event listeners) when you work in another tab, so prefer one tab at a time and reload a page that stops reacting.

changes page state, interacts with websites

ParameterTypeRequiredDescription
urlstringnoURL to open in the new tab (default: a blank tab)

browser_tab_list

List tabs. List open tabs with their id, URL and title. The active tab (the one other tools act on) is marked with *.

read-only, local to the browser

No parameters.

browser_tab_switch

Switch tab. Make another open tab the active tab; all following browser tools act on it. Use browser_tab_list to see tab ids. Element refs from other tabs do not apply; call browser_snapshot after switching.

changes page state, local to the browser

ParameterTypeRequiredDescription
tab_idstringyesTab id from browser_tab_list, e.g. "tab-2"

browser_tab_close

Close tab. Close a tab (default: the active tab). If the active tab is closed, the most recently opened remaining tab becomes active.

changes page state, local to the browser

ParameterTypeRequiredDescription
tab_idstringnoTab id to close, e.g. "tab-2" (default: the active tab)

browser_close

Close all tabs. Close every tab and discard their pages, console and network logs. Cookies are kept (use browser_clear_cookies to remove them). A fresh blank tab opens automatically on the next browser tool call.

changes page state, local to the browser

No parameters.

Group state

browser_get_cookies

Get cookies. List cookies in the browser cookie jar (shared by all tabs), including HttpOnly cookies, as one JSON object per line. expires is a unix timestamp in seconds, or -1 for session cookies.

read-only, local to the browser

ParameterTypeRequiredDescription
domainstringnoOnly cookies for this domain or its subdomains, e.g. "example.com"
namestringnoOnly cookies with exactly this name

Set cookie. Add or replace a cookie in the browser cookie jar (shared by all tabs), e.g. to reuse a session token instead of logging in. Give domain or url; by default the cookie is set for the current page's host.

changes page state, local to the browser

ParameterTypeRequiredDescription
namestringyesCookie name
valuestringyesCookie value
domainstringnoCookie domain, e.g. "example.com" (also valid for subdomains)
urlstringnoURL whose host is used as the domain when domain is not given, e.g. "https://example.com"
pathstringnoCookie path (default "/")
securebooleannoOnly send over HTTPS (default false)
http_onlybooleannoHide from page JavaScript (document.cookie) (default false)
same_site"Strict" | "Lax" | "None"noSameSite policy (default "Lax")
expiresnumbernoExpiry as a unix timestamp in seconds (default: session cookie)

browser_clear_cookies

Clear cookies. Delete every cookie from the browser cookie jar (all domains, all tabs). Page localStorage is not affected.

changes page state, local to the browser

No parameters.

browser_storage_state

Export storage state. Export the session state as JSON: all cookies plus localStorage and sessionStorage of the active tab's origin. Save it and pass it to browser_set_storage_state later to restore a logged-in session without logging in again (cookie-based logins restore fully; Obscura keeps page storage only until the page navigates or reloads).

read-only, local to the browser

No parameters.

browser_set_storage_state

Restore storage state. Restore state exported by browser_storage_state: cookies are added to the shared cookie jar, and localStorage/sessionStorage entries are written for the origin the active tab is currently on (navigate there first; entries for other origins are reported as skipped). Obscura keeps page storage per page load, so restored storage lasts until the tab navigates or reloads; cookies persist.

changes page state, local to the browser

ParameterTypeRequiredDescription
stateobject | stringyesThe JSON object returned by browser_storage_state: {cookies: [...], origins: [...]}

Group debug

browser_evaluate

Run JavaScript. Run JavaScript in the active page and return the result. Accepts an expression (document.title), an object literal ({title: document.title, links: document.links.length}), statements (the last expression is the result: const n = 2; n * 21) and top-level await (await fetch("/api").then(r => r.json())); returned promises are awaited. Objects and arrays come back as JSON (large values are shortened), DOM elements as their HTML. Thrown errors are reported as errors. Prefer browser_snapshot / browser_extract for reading pages; use this for custom checks or page APIs.

changes page state, interacts with websites

ParameterTypeRequiredDescription
expressionstringyesJavaScript code to run in the page
await_promisebooleannoWait for a returned Promise and return its value (default true; code using top-level await is always awaited)
timeoutnumbernoMaximum run time in seconds (default 30, max 120; also capped by the server's JS watchdog and tool time limits)

browser_console_messages

Console messages. Show console output and uncaught errors of the active tab (console.log/warn/error, script exceptions), oldest first. Messages are kept across navigations in the tab. Use level "error" to see only errors and exceptions.

read-only, local to the browser

ParameterTypeRequiredDescription
level"all" | "error" | "warn" | "info" | "log" | "debug"noOnly messages of this level (default "all"; "error" includes uncaught exceptions)
limitintegernoShow at most this many of the most recent messages (default 100)
clearbooleannoAfter returning the messages, delete all stored messages of this tab (every level, including ones not shown)

browser_network_requests

Network requests. List the network requests of the page currently open in the active tab (document, scripts, stylesheets, images, fetch/XHR), with HTTP status, type, size and duration. The list starts over on each navigation. Note: with Obscura stealth mode on, requests made by page scripts (fetch/XHR) are not reported.

read-only, local to the browser

ParameterTypeRequiredDescription
filterstringnoOnly requests whose URL contains this text (case-insensitive)
resource_typestringnoOnly this resource type: Document, Script, Stylesheet, Image, Font, Fetch, XHR, Other
limitintegernoShow at most this many of the most recent requests (default 100)
failed_onlybooleannoOnly requests that failed with HTTP status 400 or higher

Group capture

browser_pdf

Save page as PDF. Print the current page to a PDF (print media, paginated) and return it as an embedded application/pdf resource. Obscura renders PDF pages as images, so the text is not selectable; use browser_snapshot or browser_markdown to read text.

read-only, local to the browser

ParameterTypeRequiredDescription
landscapebooleannoLandscape orientation (default false)
print_backgroundbooleannoInclude background colors and images (default false)
scalenumbernoContent scale 0.1-2 (default 1)
paper_widthnumbernoPaper width in inches (default 8.5, US Letter)
paper_heightnumbernoPaper height in inches (default 11, US Letter)
margin_topnumbernoTop margin in inches (default 0.39, i.e. 1 cm)
margin_bottomnumbernoBottom margin in inches (default 0.39, i.e. 1 cm)
margin_leftnumbernoLeft margin in inches (default 0.39, i.e. 1 cm)
margin_rightnumbernoRight margin in inches (default 0.39, i.e. 1 cm)

browser_set_viewport

Set viewport size. Resize the active tab's viewport (CSS pixels), e.g. 390x844 to check a phone-width layout. The page reflows and later screenshots use this size. Only the active tab changes; new tabs start at the default size.

changes page state, local to the browser

ParameterTypeRequiredDescription
widthintegeryesViewport width in CSS pixels (100-7680)
heightintegeryesViewport height in CSS pixels (100-4320)

Group agents

agent_run

Run a browser agent (agentic mode). Hand a browser task to a sub-agent. It works in its own isolated browser (own tabs and cookies; your browser is not touched), completes the TASK on its own (navigating, clicking, filling forms, reading pages, searching the web) and returns the OUTPUT you describe. Use it for multi-step jobs you do not need to drive step by step. Runs can take minutes; if the result is not ready in time you get a run_id for agent_wait.

changes page state, interacts with websites

ParameterTypeRequiredDescription
taskstringyesTASK: what the agent must do, with all details it needs (sites, values, criteria)
outputstringyesOUTPUT: exactly what the agent must send back (content, format, fields), e.g. "a JSON array of {name, price}"
output_format"text" | "json"no"json" if the OUTPUT must be valid JSON (it is then validated and parsed)
start_urlstringnoPage to begin at, if known
contextstringnoExtra context: constraints, preferences, what is already known
max_stepsintegernoStep budget (model turns). Default: server setting (AGENT_MAX_STEPS)
wait_secondsnumbernoSeconds to wait for the result before returning "still running" (the run continues; collect it with agent_wait). Default: server setting (AGENT_WAIT_SECONDS)

agent_automate

Automate a browser task as a reusable script. Hand a browser task to an automation agent. It does the TASK once in its own isolated browser to learn how, then writes a reusable script that repeats it for new parameter values, verifies the script in a fresh browser, and stores it. Returns the script name, its parameters (types, meaning, examples), how to run it, the verification result, and the OUTPUT of the task itself. Run the script later with script_run — no model needed, much faster.

changes page state, interacts with websites

ParameterTypeRequiredDescription
taskstringyesTASK: the job to automate, with concrete example values (they become the script parameters' examples)
outputstringyesOUTPUT: what the task (and the script) must return, e.g. "JSON array of {title, url} for the top N results"
parametersstringnoWhich values should be script parameters, e.g. "the search query and the number of results" (default: the agent decides)
script_namestringnoName to store the script under (lowercase letters, digits, "-"); default: derived from the task
overwritebooleannoReplace an existing script with the same script_name (default false: a new name is chosen)
output_format"text" | "json"no"json" if the OUTPUT must be valid JSON (it is then validated and parsed)
start_urlstringnoPage to begin at, if known
contextstringnoExtra context: constraints, preferences, what is already known
max_stepsintegernoStep budget (model turns). Default: server setting (AGENT_MAX_STEPS)
wait_secondsnumbernoSeconds to wait for the result before returning "still running" (the run continues; collect it with agent_wait). Default: server setting (AGENT_WAIT_SECONDS)

agent_find

Find information on the web (with sources). Give a finder agent an OBJECTIVE (a question or a specific thing to find). It searches the web in its own isolated browser, reads the pages, cross-checks the facts on several independent websites, and returns the answer with a confidence level, conflicts between sources, and the links it cited (each with the supporting quote).

read-only, interacts with websites

ParameterTypeRequiredDescription
objectivestringyesOBJECTIVE: what to find, as specific as possible (e.g. "the current stable version of Node.js and its release date")
outputstringnoOUTPUT: how the answer should be given (default: a concise, complete answer)
min_sourcesintegernoIndependent websites the answer must be confirmed on (default 2)
output_format"text" | "json"no"json" if the OUTPUT must be valid JSON (it is then validated and parsed)
contextstringnoExtra context: constraints, preferences, what is already known
max_stepsintegernoStep budget (model turns). Default: server setting (AGENT_MAX_STEPS)
wait_secondsnumbernoSeconds to wait for the result before returning "still running" (the run continues; collect it with agent_wait). Default: server setting (AGENT_WAIT_SECONDS)

agent_wait

Wait for an agent run. Wait for a sub-agent run (agent_run, agent_automate, agent_find) to finish and return its result; returns "still running" again if it is not done in time.

read-only, local to the browser

ParameterTypeRequiredDescription
run_idstringyesThe run id, e.g. "r1a2b3c4"
wait_secondsnumbernoSeconds to wait for the result before returning "still running" (the run continues; collect it with agent_wait). Default: server setting (AGENT_WAIT_SECONDS)

agent_status

Agent run status. Show one sub-agent run (progress, or its result when finished), or list recent runs when run_id is omitted.

read-only, local to the browser

ParameterTypeRequiredDescription
run_idstringnoThe run id; omit to list recent runs

agent_cancel

Cancel an agent run. Stop a running or queued sub-agent run. Its browser is closed; a script it already saved is kept.

changes page state, local to the browser

ParameterTypeRequiredDescription
run_idstringyesThe run id

Group scripts

script_list

List automation scripts. List the stored automation scripts (made by agent_automate) with their parameters and verification status.

read-only, local to the browser

No parameters.

script_get

Show an automation script. Show a stored script: what it does, its parameters, how to run it, verification status and (optionally) its source code.

read-only, local to the browser

ParameterTypeRequiredDescription
namestringyesScript name, from script_list
include_codebooleannoInclude the JavaScript source (default true)

script_run

Run an automation script. Run a stored automation script with parameters, without any model: it replays the recorded browser job in a fresh isolated browser and returns the script output (JSON) and its log. Parameters are validated and defaulted from the script definition (see script_get).

changes page state, interacts with websites

ParameterTypeRequiredDescription
namestringyesScript name, from script_list
paramsobjectnoParameter values, e.g. {"query": "rust", "limit": 5}

script_delete

Delete an automation script. Delete a stored automation script (its code and metadata files).

changes page state, local to the browser

ParameterTypeRequiredDescription
namestringyesScript name, from script_list