ToolReference¶
Structure Class¶
ToolReference
dataclass
¶
Bases: _SerdeShape
A reference to a tool in the tool configuration. Used with
ToolAdditionBlock and ToolRemovalBlock to identify which tool to add
or remove mid-conversation.
Attributes¶
name
class-attribute
instance-attribute
¶
name: str | None = ...
The name of the tool. Must match the name of a tool declared in the top-level tool configuration.