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
- Screenshot before action: Always
screenshotto confirm UI state - Prefer element_index over coordinates: More reliable than coordinates
- Wait for response: Wait for UI updates after complex operations
- Window focus: Ensure target window is in foreground
Activation
computer is only available in Desktop mode (desktop_connected=true).
