hasToolCalls property

bool get hasToolCalls

Whether the response contains tool calls.

Implementation

bool get hasToolCalls => toolCalls != null && toolCalls!.isNotEmpty;