computerTool
function computerTool<Context, TComputer>(options): ComputerTool<Context, TComputer>;Exposes a computer to the agent as a tool to be called.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
|
|
|
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
{ |
Additional configuration for the computer tool like specifying the location of your agent |
|
|
|
‐ |
|
|
|
‐ |
Returns
Section titled “Returns”ComputerTool<Context, TComputer>
a computer tool definition