desktop_open_url
Open a URL in Brave on the VM (falls back to Chromium or Firefox if Brave isn't installed on the VM).
REQUIRES the QEMU guest agent: the browser is launched inside the guest.
Without the agent, run the same steps as desktop_interact actions —
key "ctrl+l", type the URL, key "Return".
Do NOT use this to "prove" a kiosk, an autostarted browser, or a homepage: it opens a SECOND browser window, so what appears here says nothing about what the image starts on its own. Screenshot the untouched session instead.
Sends Ctrl+L (focus address bar) → types URL → Enter → waits for page load →
takes the screenshot and parses elements. This is a convenience tool; the
same sequence can be expressed as key/type actions in desktop_interact.
To prevent runaway tab accumulation in long-running agent sessions, the
tool keeps at most max_tabs browser tabs open and closes the oldest one
(FIFO) when a new URL would push past the cap. The cap is enforced via
Chromium DevTools on loopback inside the VM, so it applies to Brave /
Chromium / Edge but not Firefox. Set max_tabs=0 to opt out for one-off
sessions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vm_name": "<vm_name>",
"url": "<url>"
},
"name": "desktop_open_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to open in Brave (e.g., 'https://example.com') | |
| zoom | No | Browser zoom (1.0 = 100%, 0.8 = 80%). Leave unset for smart per-app defaults — dense dashboards like the cto-gui topology graph open at 80% so more fits on screen. Pass an explicit value to override, e.g. 0.8 to zoom out or 1.0 to force 100%. | |
| mobile | No | Open in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. The choice sticks to this VM, so later desktop_screenshot and desktop_interact calls stay in mobile view too. Pass false to go back to desktop. | |
| api_key | No | MCP API key | |
| vm_name | Yes | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. | |
| max_tabs | No | Cap on simultaneous browser tabs. When opening would exceed this, the oldest tab opened by us is closed first (FIFO). Set to 0 to disable. Default: 10. | |
| include_perf | No | Include per-stage timing metrics in the response. | |
| wait_seconds | No | Seconds to wait for page to load before taking screenshot (default: 5) | |
| response_mode | No | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). | full |
| session_token | No | Session token |