Skip to main content

Computer Use

computer(action=...) provides pixel-level screen control, suitable for operating any GUI application.

Overview

Computer Use is the lowest-level interaction tool — it observes the screen via screenshots and operates through coordinates and keyboard input. Suitable for native apps, games, and any GUI interface without DOM structure.

Available Actions

Examples

Screenshot

Click at coordinates

Keyboard shortcut

Window management

Execution Backends

Best Practices

  1. Screenshot before action: Always screenshot to confirm UI state
  2. Prefer element_index over coordinates: More reliable than coordinates
  3. Wait for response: Wait for UI updates after complex operations
  4. Window focus: Ensure target window is in foreground

Activation

computer is only available in Desktop mode (desktop_connected=true).