ToolAdditionBlock¶
Structure Class¶
ToolAdditionBlock
dataclass
¶
A content block for adding a tool to the available tool set
mid-conversation. Each block references a single tool via its tool
field. Use within a system role message to make a tool available
without re-sending the full tool configuration.
Attributes¶
tool
instance-attribute
¶
tool: ToolReference
A reference to the tool to add to the available tool set.