computer
Controls native desktop apps and browsers using accessibility trees, Set-of-Mark grounding, OCR, and batched actions to inspect, click, type, drag, scroll, and verify UI changes.
Instructions
AX-first semantic & Set-of-Mark interaction: action=inspect (supports diff, include_bounds, window, query), click, double_click, right_click, hover (accepts ref, mark, target: {query, role?, fresh?}, or x/y after unfiltered snapshot), drag (from_ref/from_mark/x1,y1 -> to_ref/to_mark/x2,y2), type (ref, mark, or target), set_value (direct native text assignment/clearing on verified editable ref, mark, or target; text='' clears), select_text (optional start/end offsets on verified editable ref, mark, or target), press_key, scroll (direction, amount, optional target ref/mark/x,y), run_actions (up to 24 chained steps including inline wait_for, inspect, set_value, select_text, target, and per-step verify_mode/diff/include_bounds), wait_for (local AX/OCR poll up to 60s, optional window/role), or confirm (token). Pass return_state='diff'|'full' on actions & run_actions to capture updated AX state inline and keep refreshed refs live without extra inspect_app round-trips; pass verify_mode='ax' with verify_change=true to skip screenshots. Also supports keep_snapshot, max_retries (0..=3), settle_ms, poll_interval_ms, retry_delay_ms, and require_change.
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>",
"arguments": "<arguments>"
},
"name": "computer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| arguments | Yes |