Options for the computer use tool.
Supported models: Claude Sonnet 4.5, Haiku 4.5, Opus 4.1, Sonnet 4, Opus 4, and Sonnet 3.7 versions.
interface Computer20250124OptionsThe height of the display in pixels.
Optional display number for X11 environments.
The width of the display in pixels.
Optional execute function that handles computer action execution. This function receives the action input and should return the result (typically a base64-encoded screenshot or action confirmation).