isToolUse property

bool get isToolUse

Whether or not this is a ToolUseContent.

Implementation

bool get isToolUse => _value[Keys.type] == ToolUseContent.expectedType;