crawlio-browser
v1.11.0Bridge a live Chrome browser to your agent: 150 tools for capture, extraction, and observation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Search available commands by keyword — both browser automation (via bridge.send) and Crawlio HTTP endpoints (via crawlio.api). Returns matching command names, descriptions, and parameter schemas. Use this to discover what commands are available before writing execute() code.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search keyword (e.g. 'screenshot', 'cookie', 'network', 'navigate') |
limit | number | Max results (default: 10) |
execute
Execute JavaScript code with access to the browser bridge, Crawlio HTTP client, and smart object. Use search() first to discover available commands and their parameters. IMPORTANT WARNINGS: - smart.screenshot() does NOT exist. For screenshots: bridge.send({ type: 'take_screenshot' }). - For structured page evidence, prefer smart.extractPage() — runs 7 ops in parallel with typed gaps[]. - capture_page returns a ~1KB shaped summary. For raw data, use stop_network_capture or get_console_logs. - Use smart.waitForIdle() instead of sleep(). Use smart.scrollCapture() instead of manual scroll loops…
| Parameter | Type | Description |
|---|---|---|
code * | string | Async JavaScript function body. Has bridge, crawlio, sleep, TIMEOUTS, smart, compileRecording, ocrScreenshot, saveArtifact in scope. Must return a value (for bulk data, saveArtifact to disk and return… |
background | boolean | Run detached: returns { jobId } immediately and keeps executing server-side up to the sandbox cap (~120s). Poll get_job_result(jobId) for the result. Use for heavy/long runs (e.g. navigate + OCR) that… |
tabId | number | Target tab id from list_tabs. Every bridge.send in the script that does not name its own tabId runs against this tab (default: the connected tab). |
observe
Manage extension-resident observation. Actions: training_start, training_status, training_stop, training_clear, training_artifacts; recording_start, recording_status, recording_stop, recording_clear, recording_artifacts (RecordingBundle aliases); monitor_start, monitor_status, monitor_results, monitor_stop, monitor_clear. Training and monitors continue while MCP is disconnected; stop materializes canonical files and confirmed clear deletes only Chrome-retained records.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
active | boolean | Open the training tab in the foreground (default true) |
bundleID | string | |
captureStorageValues | boolean | |
closeTab | boolean | |
confirm | boolean | Must be true for training_clear/recording_clear |
fetchBodies | boolean | |
includeSnapshot | boolean | |
intervalMinutes | number | |
label | string | |
limit | number | |
maxDurationSec | number | |
maxInteractions | number | |
monitorId | string | |
outputDir | string | |
runId | string | |
url | string |
get_job_result
Poll a background execute job by jobId (returned by execute({ background: true })). Returns { status: running|done|error|cancelled, value?, console?, error?, ageMs, runtimeMs? }, or { status: 'not_found' } if unknown/expired (finished jobs are kept ~10 min). phase/percent come from reportPhase(name, percent) calls inside the job; phases is the recent timeline while it is still running.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | Job id from execute({ background: true }) |
list_jobs
List background execute jobs (running + recently finished). Returns { count, jobs: [{ jobId, status, ageMs, runtimeMs? }] }.
cancel_job
Cancel a running background execute job by jobId — terminates its sandbox worker. No-op if the job already finished.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | Job id to cancel |
connect_tab
Pin a browser tab for subsequent commands and start CDP capture. Three modes: (1) provide a URL: with the optional tabs grant Crawlio reuses a match, otherwise it creates a fresh owned tab; (2) provide a tabId to adopt a specific existing tab (tabs grant required); (3) no args to discover and pin the active tab (tabs grant required). Pass background:true to avoid stealing the user's active tab/window focus.
| Parameter | Type | Description |
|---|---|---|
background | boolean | Connect + drive the tab without activating it or focusing its window (no focus-steal). The tab opens/loads in the background; input and screenshots use CDP so they work without foreground focus. |
tabId | number | Specific tab ID to connect to (use list_tabs to discover IDs) |
url | string | URL to open — reuses a match when tab metadata is granted, otherwise creates a fresh owned tab |