main
1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3from typing_extensions import Literal
4
5from ..._models import BaseModel
6
7__all__ = ["ComputerTool"]
8
9
10class ComputerTool(BaseModel):
11 display_height: int
12 """The height of the computer display."""
13
14 display_width: int
15 """The width of the computer display."""
16
17 environment: Literal["windows", "mac", "linux", "ubuntu", "browser"]
18 """The type of computer environment to control."""
19
20 type: Literal["computer_use_preview"]
21 """The type of the computer use tool. Always `computer_use_preview`."""