Skip to content

codeInterpreterTool

function codeInterpreterTool(options): HostedTool;

Adds code interpreter abilities to your agent

Parameter Type Description

options

Partial<Omit<CodeInterpreterTool, "type">>

Additional configuration for the code interpreter

HostedTool

a code interpreter tool definition