Interface: OpenAICodeInterpreterTool
@providerprotocol/ai / openai / OpenAICodeInterpreterTool
Interface: OpenAICodeInterpreterTool
Section titled “Interface: OpenAICodeInterpreterTool”Defined in: src/providers/openai/types.ts:1212
Code interpreter tool for Responses API Allows the model to write and run Python code
Properties
Section titled “Properties”code_interpreter?
Section titled “code_interpreter?”
optionalcode_interpreter:object
Defined in: src/providers/openai/types.ts:1215
Code interpreter configuration
container
Section titled “container”container:
string|OpenAICodeInterpreterContainer
Container configuration
type:
"code_interpreter"
Defined in: src/providers/openai/types.ts:1213