Skip to content

ToolAdditionBlock

Structure Class

ToolAdditionBlock dataclass

Bases: _SerdeShape

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

A reference to the tool to add to the available tool set.