cua
Automate background Chrome tabs and native macOS apps without stealing focus or moving the cursor, using a stateful REPL, persistent element IDs, batch steps, and parallel agent sessions.
Instructions
Background Chrome ('🤖 Agent' Tab Group) & macOS AX control with multi-cursor isolation, stateful REPL (code), or steps batching and +/~/- UID diffs. Zero focus/cursor theft. Pass code (tab=cua.createBrowserTab('chrome',url); tab.click('@u1').waitFor('Confirmed'), cua.listTabs(), tab.text(), or app=cua.getApp('Calculator'); app.click('@a6')), {app|url, steps, agent}, or {parallel:[...]}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cua"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| url | No | ||
| code | No | ||
| diff | No | ||
| mode | No | ||
| stop | No | ||
| agent | No | ||
| query | No | ||
| reset | No | ||
| steps | No | ||
| resume | No | ||
| window | No | ||
| session | No | ||
| surface | No | ||
| fullPage | No | ||
| listTabs | No | ||
| parallel | No | ||
| windowId | No | ||
| fullTable | No | ||
| statusBar | No | ||
| perfReport | No | ||
| toggleZoom | No | ||
| chromeTabId | No | ||
| bridgeStatus | No | ||
| reuseExisting | No | ||
| highlightWindow | No | ||
| reloadExtension | No | ||
| requireExtension | No |