Run Python code to help generate a response to a prompt.

Hierarchy (view full)

Constructors

Properties

[PROVIDER_TOOL_SYMBOL]: true
[TOOL_SYMBOL]: true
container: null | string | CodeInterpreterToolAuto

Code interpreter container ID or configuration.

id: string

Stable identifier used to key the tool inside a ToolContext. For function tools this mirrors name; for provider tools this is the provider tool id.

type: "provider"

Methods