The Code Interpreter tool call definition.

interface CodeInterpreter {
    input?: string;
    outputs?: (CodeInterpreterLogs | CodeInterpreterOutputImage)[];
}

Properties

Properties

input?: string

The input to the Code Interpreter tool call.

The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs) or images (image). Each of these are represented by a different object type.