Computer Use Turbo
v0.1.0Let any AI agent operate desktop apps on macOS, Windows and Linux, in the background and safely.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_apps List apps
List the apps you can target: running apps first, then recently used ones, most recent first. One line per app: "Name — id — running/not running — last used <date> (<n> uses)". Pass the name or id as `app` to observe_app and the action tools (if a name does not resolve, use the id). Last come background processes marked "system panel / status items": the system's menu bar extras (Control Center, the clock that opens Notification Center and its widgets, Focus, volume, a search icon) and the panels they open. Observe one to see its status items and click one to open its panel. Does not ask…
observe_app Observe app
Look at an app: its UI as numbered lines plus a screenshot of its window. Call it before acting on an app and again after every action (look → act → look). Launches the app if needed (a password manager asks the user first, once per task). Lines look like `#12 text field "Name" value="Ada" {focused, editable} actions=Increment`; #12 is the element number for the action tools and stays the same for that element for the whole session. Static text shows as `#5 text: Hello`, links as `#7 link [Title](example.com/page)`; long lists show only their visible rows plus a "(… more rows hidden; scr…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
full_tree | boolean | true = return the full tree instead of changes since the previous observe_app. |
click_at Click
Click in an app. Give exactly one target: element (preferred; from the latest observe_app) or x and y (pixels of the latest screenshot as delivered, origin top-left). The app does not need to be in front. Apps that draw their own UI are brought forward and clicked with the real pointer, which is put back right after, only while the user is idle; otherwise the click fails with userActive (nothing sent, retry shortly). button: left (default) / right / middle; times: 1-3 (2 = double-click). Requires a prior observe_app for this app in this session. Call observe_app afterwards to verify the result…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
button | string | Mouse button (default left). |
element | integer | Element number: the #number from the latest observe_app output for this app. |
times | integer | 1 = click (default), 2 = double, 3 = triple. |
x | number | X in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
y | number | Y in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
scroll_view Scroll
Scroll inside an app at an element (element) or at a screenshot point (x and y); exactly one target. direction: up/down/left/right; pages: 0.1-20 (default 1 ≈ one visible page). Requires a prior observe_app for this app in this session. Observe again with observe_app to see the newly revealed content.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
direction * | string | Direction to move the content view. |
element | integer | Element number: the #number from the latest observe_app output for this app. |
pages | number | How far, in pages (0.1-20, default 1). |
x | number | X in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
y | number | Y in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
drag_item Drag
Press the left mouse button at (start_x, start_y), move to (end_x, end_y) and release. Coordinates are pixels of the latest observe_app screenshot (origin top-left); there is no element form. For sliders, moving items (files too), resizing, drawing. File drags that need the real mouse briefly bring the app forward and use it while the user is idle (put back afterwards). Requires a prior observe_app for this app in this session. Call observe_app afterwards to verify the result.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
end_x * | number | End X in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
end_y * | number | End Y in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
start_x * | number | Start X in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
start_y * | number | Start Y in pixels of the latest observe_app screenshot (origin top-left), exactly as seen in the image; the helper converts them to screen points (also for downscaled screenshots). |
write_text Type text
Type text into the app: inserted through accessibility at the caret / over the selection when the element allows it, otherwise as keystrokes. It adds to what a field already holds; to replace a field's contents (an address or location bar, a search box) use fill_value. With element that element is focused first; otherwise the text goes to the focused element. "\n" presses Return, which may submit forms. Works with the app in the background; when that cannot work (an app that ignores background keys, Return in a rename field) the app is brought forward for this one call while the user is idle,…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
text * | string | Text to type (at most 50000 characters). "\n" presses Return. |
element | integer | Element to focus before typing (optional). |
send_keys Press key
Press a key or key combination in the app, "+"-separated and case-insensitive, e.g. "Return", "Tab", "Escape", "cmd+a", "ctrl+shift+Tab", "Down", "Page_Down" / "Next", "Prior", "Home", "F5", "KP_Enter", "BackSpace", "Delete" (forward delete; lower-case "delete" is Backspace). Modifiers: cmd/command/super/meta, ctrl/control, alt/option, shift (each also with _L/_R), fn; a modifier alone ("Shift_L") is pressed by itself. Keys: letters, digits, punctuation or its name (comma, period, slash, bracketleft, exclam, …), Return/Enter, Tab, space, Escape, BackSpace, Delete, arrows, Home/End, Page_Up/P…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
combo * | string | Key or chord in xdotool "key" syntax, "+"-separated, e.g. "Return", "cmd+a", "ctrl+shift+Tab", "Down", "KP_Enter", "Prior", "super+bracketleft". |
fill_value Set value
Replace the value of an editable element (text field, text area, slider, …) directly through accessibility. element comes from the latest observe_app; the element should be marked {editable}. A text field that is not focused is focused first. Never presses Return or submits: to submit, send_keys "return" (or invoke_action "Confirm" when the line lists actions=Confirm). A rename field only commits on Return; the note says so. The value is read back afterwards; if the app reverted or ignored it, the result says "did not keep" and shows what the field holds; then click_at the field and use writ…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
element * | integer | Element number: the #number from the latest observe_app output for this app. |
value * | string | New value; replaces the current contents ("" clears the field). |
pick_text Select text
Select a piece of text inside an element's value, or put the caret right before/after it. text is the exact substring; text_before / text_after (the text right next to it) tell repeated occurrences apart. mode: "select" (default), "caret_before", "caret_after". Useful before write_text to replace or insert at a precise spot. Requires a prior observe_app for this app in this session. Call observe_app afterwards to verify the result.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
element * | integer | Element number: the #number from the latest observe_app output for this app. |
text * | string | Exact text to find in the element's value. |
mode | string | "select" selects it (default); "caret_before" / "caret_after" put the caret there. |
text_after | string | Text right after the occurrence (tells repeats apart). |
text_before | string | Text right before the occurrence (tells repeats apart). |
invoke_action Perform accessibility action
Run a named accessibility action of an element: one listed after actions= on its line or under "More actions on #n" in observe_app, by that name (e.g. Increment, Decrement, "Show Alternate UI", "Scroll Down", "Show Menu", Raise, Cancel, Confirm; case-insensitive). Use only names that are shown, for what a plain click cannot do. Requires a prior observe_app for this app in this session. Call observe_app afterwards to verify the result.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
element * | integer | Element number: the #number from the latest observe_app output for this app. |
name * | string | Action name as listed after actions= or under "More actions on", e.g. "Scroll Down", "Show Menu" (case-insensitive). |
paste_text Paste
Paste content into the app at the caret / over the selection, through the clipboard: the helper puts the content on the clipboard, pastes it (the Paste menu item, or an accessibility insert of plain text, while the app is in the background), waits until the app has read it and then restores the user's previous clipboard (unless the user copied something meanwhile). format: "text" (default), "markdown" or "html" — the last two paste rich text (headings, bold, lists, links) where the app supports it. Good for long text and formatted text; focus the target field first (click_at it). Refused for…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
text * | string | Content to paste. |
format | string | "text" (default) pastes plain text; "markdown" and "html" paste rich text (plus a plain-text version). |
run_steps Run several steps
Run a sequence of actions on an app in one call — faster than one call per action. Each step is an action tool with its usual arguments plus "tool" (no "app" needed: steps use the batch's app unless they give their own), or {"tool": "pause", "ms": n}. Example: [{"tool": "click_at", "element": 12}, {"tool": "write_text", "text": "Ada"}, {"tool": "send_keys", "combo": "Return"}]. Every step goes through the same checks as the single tools (approval, Stop, password fields, take-back), in order, one at a time. All steps are validated before the first one runs. The batch stops at the first failur…
find_command Find a menu command
Search an app's menu commands — every item of its menu bar, with its shortcut — by words ("export pdf", "bold") or by shortcut ("cmd+shift+s"). Lines look like `Format ▸ Font ▸ Bold [cmd+b]`; "(unavailable now)" marks a command the app greys out right now (it may need a selection or a document). Run one with run_command. The list is read once per app and saved, then only checked for changes, so apps used before answer instantly. Without query: the menus with their command counts (every command when the app has few). Opens no menu and does not need observe_app first.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
limit | integer | Most matches to return (default 15). |
query | string | Words to look for ("export pdf", "bold", "new tab") or a shortcut ("cmd+shift+s"). Omit to list the menus (or every command of a small app). |
run_command Run a menu command
Run a command from the app's menus by its path, as find_command lists it ("File ▸ Export As PDF…", "Format > Font > Bold"). It is pressed through accessibility with the app in the background: no menu opens and the user is not disturbed. A command the app greys out only while it is inactive briefly brings the app forward while the user is idle (handed back right after); one that is greyed out anyway fails (it needs a selection, a document or another window). Requires a prior observe_app for this app in this session. Call observe_app afterwards to verify the result.
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
command * | string | The command as find_command lists it, without the shortcut: "File ▸ Export As PDF…" (">" also separates; case and a trailing "…" do not matter). |
wait_for Wait for a change
Wait until something happens in the app instead of observing again and again: text appears / is gone, an element changes, a window or dialog opens, the app settles, or anything changes (see until). The helper listens to the app's accessibility events and checks again after each burst of changes, so it returns as soon as the condition holds (or after timeout_s). The result says whether it matched, lists what changed while waiting and, unless observe_after is false, ends with an observation (text + screenshot). Good after starting a download, an export, a page load, a search or a long operation.…
| Parameter | Type | Description |
|---|---|---|
app * | string | Target app: its name as listed by find_apps, its id (bundle id / executable name), or its absolute path. |
until * | string | text_appears / text_gone: text (case-insensitive) is shown / no longer shown anywhere in the app's windows; element_changes: the element's label, value or state changes (or it disappears); new_window:… |
element | integer | The element for element_changes. |
observe_after | boolean | true (default) = end with an observation of the app (like observe_app). |
text | string | The text for text_appears / text_gone. |
timeout_s | number | Give up after this many seconds (default 10, at most 60). |
show_preview Show or hide the live preview
Show (show: true) or hide (show: false) the live preview: a small panel at the top right of the window the user talks to you in that shows a live image of the window you are working on with your pointer moving in it. It appears by itself while you work (unless the user turned it off) and stays up until finish (or the user presses Stop / Esc). Use this only when the user asks to see or hide it.
| Parameter | Type | Description |
|---|---|---|
show * | boolean | true = show the live preview panel, false = hide it. |
access_status Check permissions
Check whether the helper has the permissions it needs: accessibility (required for everything) and screen capture (needed for screenshots). Use it when a tool fails with accessMissing or screenshots are missing. request: true shows the permission prompts / settings to the user; only do that when the user wants to set up permissions. You cannot grant them yourself.
| Parameter | Type | Description |
|---|---|---|
request | boolean | true = show the operating system's permission prompts / settings to the user. Default false (just check). |
finish Finish
Call once the task is finished (or abandoned). Ends this session in the helper: forgets element numbers, change baselines and screenshots, drops "For this task" approvals and hides the status overlay and live preview. If the user pressed Stop (haltedByUser) or declined access, end the session and ask the user how to proceed; do not call observe_app or any action again until the user explicitly asks you to continue.