Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
A code interpreter execution call with outputs

Fields

FieldTypeRequiredDescriptionExample
codeNullable[str]:heavy_check_mark:N/A
container_idstr:heavy_check_mark:N/A
idstr:heavy_check_mark:N/A
outputsList[components.OutputCodeInterpreterCallItemOutputUnion]:heavy_check_mark:N/A
statuscomponents.ToolCallStatus:heavy_check_mark:N/Acompleted
typecomponents.TypeCodeInterpreterCall:heavy_check_mark:N/A