Skip to content

ToolDict

Union Type

ToolDict module-attribute

Dictionary form of Tool, setting exactly one variant.

Union Member Types

ToolToolSpecDict

Bases: TypedDict

Attributes

tool_spec instance-attribute

The specfication for the tool.

ToolSystemToolDict

Bases: TypedDict

Attributes

system_tool instance-attribute
system_tool: SystemTool | SystemToolDict

Specifies the system-defined tool that you want use.

ToolCachePointDict

Bases: TypedDict

Attributes

cache_point instance-attribute

CachePoint to include in the tool configuration.