Skip to content

ToolRemovalBlock

Structure Class

ToolRemovalBlock dataclass

Bases: _SerdeShape

A content block for removing a tool from the available tool set mid-conversation. Each block references a single tool via its tool field. Use within a system role message to remove a tool without re-sending the full tool configuration.

Attributes

tool instance-attribute

A reference to the tool to remove from the available tool set.