hasToolCalls property

bool get hasToolCalls

Whether this message contains any tool calls.

Implementation

bool get hasToolCalls => toolCalls.isNotEmpty;