ComputerTool
type ComputerTool<Context, TComputer> = object;Exposes a computer to the model as a tool to be called
The result of the tool
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
|
|
The context of the tool |
|
|
|
‐ |
Properties
Section titled “Properties”computer
Section titled “computer”computer: ComputerConfig<Context, TComputer>;The computer to use.
name: "computer_use_preview" | string & object;The name of the tool.
type: "computer";