wantsTools property

bool get wantsTools

Whether the model requested at least one tool call.

Implementation

bool get wantsTools => toolCalls.isNotEmpty;