oculo
v0.4.1AI-powered native browser with 12 MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
page
Describe the current page in Oculo browser. Default: compact (~30-80 tokens). Use detail="a11y" for ref-tagged accessibility tree — interactive elements get [ref=e1],[ref=e2]... refs usable in act tool. Use detail="markdown" for full article content as clean markdown.
| Parameter | Type | Description |
|---|---|---|
detail | string | compact (default ~30-80 tokens), a11y (ref-tagged accessibility tree ~200-500 tokens), or markdown (article extraction via Readability) |
include | array | What to include: "forms", "buttons", "links", "headings", "text", "images" |
scope | string | CSS selector to scope description to a section of the page |
screenshot | boolean | Attach a screenshot (default: false) |
tabId | string | Target a specific tab by ID (for parallel execution). Omit for active tab. |
act
Perform an action in Oculo browser: click, navigate, scroll, press key, hover, type, login. Elements found by ref (from a11y snapshot), text, role, label, placeholder, or CSS selector. After click/navigate/back/forward/reload, returns fresh ref-tagged snapshot. Use newTab with background=true to open tabs without switching, then use tabId to run actions in parallel.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
amount | number | Scroll amount in pixels |
attribute | string | Attribute name for getAttribute action |
autoSubmit | boolean | Auto-submit after login (default: true) |
background | boolean | For newTab: open in background without switching (default: false). Returns tab ID for parallel execution. |
clear | boolean | Clear existing content before typing (for type action). Works with both regular inputs and contenteditable fields. |
content | string | File content for writeFile action |
cookies | array | Cookies array for importCookies action |
direction | string | Scroll direction |
expression | string | JavaScript expression for evaluate action |
from | object | Drag source: {x, y} or {text, selector} |
key | string | Key to press (Enter, Tab, Escape, etc.) |
label | string | Label text associated with the element |
modifiers | array | Modifier keys (Ctrl, Shift, Alt, Meta) |
name | string | Accessible name of the element |
nth | number | Which match to use (0-indexed, default: 0) |
placeholder | string | Placeholder text of the input |
proxy | object | Proxy config for setProxy action: {type, host, port, username?, password?, bypass?} |
ref | string | Element ref from a11y snapshot (e.g. "e5"). Preferred over text/selector — use page({detail:"a11y"}) first. |
role | string | ARIA role (button, link, textbox, etc.) |
screenshot | boolean | Attach screenshot after action |
selector | string | CSS selector (fallback) |
site | string | Site domain for login action (uses credential vault) |
tabId | string | Target a specific tab by ID (for parallel execution). Omit for active tab. |
text | string | Visible text on the element to interact with |
to | object | Drag target: {x, y} or {text, selector} |
url | string | URL for navigate action |
value | string | Value for select action, file path for readFile/writeFile |
x | number | X coordinate for clickAtPoint/drag |
y | number | Y coordinate for clickAtPoint/drag |
fill
Fill form fields in Oculo browser by label, placeholder, or data-placeholder text. Handles text, select, checkbox, textarea, and contenteditable (DraftJS, ProseMirror). Use visible labels as keys.
| Parameter | Type | Description |
|---|---|---|
fields * | object | Object mapping field label → value (e.g. {"Email": "hi@oculo.com"}) |
screenshot | boolean | Attach screenshot after filling |
submit | Submit form. true = first submit button, string = button text | |
tabId | string | Target a specific tab by ID (for parallel execution). Omit for active tab. |
read
Extract structured data from the page in Oculo browser (search results, tables, lists, articles).
| Parameter | Type | Description |
|---|---|---|
what * | string | What to extract: "search results", "products", "table data", etc. |
fields | array | Specific fields to extract |
format | string | Output format (default: text) |
limit | number | Max items to return (default: 10) |
scope | string | CSS selector to narrow extraction scope |
tabId | string | Target a specific tab by ID (for parallel execution). Omit for active tab. |
run
PREFERRED for any task with 2+ actions. Executes a multi-step pipeline in a SINGLE call — use this instead of multiple act/fill calls. Example — post on X: run({steps:[{act:{action:"navigate",url:"https://x.com/compose/post"}},{wait:{timeout:2000}},{act:{action:"type",text:"Hello world",role:"textbox"}},{act:{action:"click",text:"Post",role:"button"}}]}). Each step is an object with exactly ONE key: page, act, fill, read, wait, or if. Cached for replay.
| Parameter | Type | Description |
|---|---|---|
description | string | Short description for caching |
returnAll | boolean | Return results from all steps (default: false) |
steps | array | Array of steps. Each step is an object with exactly ONE key: page, act, fill, read, wait, or if. |
tabId | string | Target a specific tab by ID (for parallel execution). Omit for active tab. |
workflow | string | Replay a cached workflow by ID |
media
Generate images (Nano Banana 2 / DALL-E 3) or videos (Veo 3.1) via Oculo. Returns saved file path. Supports image-to-image editing with reference image.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to create |
type * | string | Generate an image or video |
duration | number | Video duration: 4, 6, or 8 seconds |
image | string | Path to reference image for image-to-image editing/transformation (Gemini only) |
model | string | Image model: nano-banana-2 (default), nano-banana-pro, nano-banana |
provider | string | Override: gemini, openai, stability |
size | string | Image: 1024x1024, 2K, 4K. Video: 16:9, 9:16 |
style | string | natural, vivid, cinematic, anime |
shell
Execute a shell command (ls, npm, git, node, python, etc.) via Oculo and return stdout+stderr. Non-interactive only.
| Parameter | Type | Description |
|---|---|---|
command * | string | The shell command to execute |
timeout | number | Timeout in milliseconds (default: 30000, max: 120000) |
webmcp_list
Discover WebMCP tools registered by the current page via navigator.modelContext.registerTool() or <form toolname="..."> elements. Returns list of available page-declared tools.
webmcp_call
Call a WebMCP tool registered by the current page. Use webmcp_list first to discover available tools.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tool name to call (from webmcp_list) |
args | object | Arguments to pass to the tool |
research
Deep web research on a topic. Opens multiple tabs, reads pages, synthesizes findings.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Research topic or question |
depth | number | Research depth (1-3). Default: 2 |
tabId | string | Target tab ID |
tabs
List all open browser tabs with their URLs and titles.
| Parameter | Type | Description |
|---|---|---|
tabId | string | Target tab ID |
preview
Pre-fetch a URL without navigating. Returns page description without leaving current page.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to preview |
tabId | string | Target tab ID |
translate
Translate page content or specific text to another language.
| Parameter | Type | Description |
|---|---|---|
to * | string | Target language code (e.g., "en", "es", "zh") |
tabId | string | Target tab ID |
text | string | Text to translate (omit for full page) |
lens
Visual analysis of the current page via screenshot. Describe what you see or answer questions about the page visually.
| Parameter | Type | Description |
|---|---|---|
question * | string | What to analyze or look for in the page |
tabId | string | Target tab ID |
abort
Cancel a pending tool call by callId, or pass callId="all" to cancel everything.
| Parameter | Type | Description |
|---|---|---|
callId * | string | The call ID to cancel, or "all" to cancel all pending calls |
status
List all pending tool calls with their callId, toolName, and elapsed time.