browser_cua
Control local browsers via cua-driver to prepare sessions, inspect state, navigate, click, type, select dialogs, and manage downloads.
Instructions
Control local browsers via cua-driver (prepare, get_state, navigate, click, type, select, dialog, download). Call desktop_list_windows first to get pid and window_id, then call action='prepare' with {pid, window_id, strategy:{kind:'existing_profile'}} before action='get_state'. For get_state, pass either {pid, window_id, include_screenshot:false} (attached mode) or {target_id, tab_id, include_screenshot:false} (snapshot mode).
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": {
"action": "<action>"
},
"name": "browser_cua"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Action arguments passed directly to cua-driver. Required: {pid, window_id, strategy:{kind:'existing_profile'}} for prepare; either {pid, window_id, include_screenshot:false} or {target_id, tab_id, include_screenshot:false} for get_state; {target_id, tab_id, url} for navigate. | |
| action | Yes | cua-driver browser action |