toolCalls property

List<AIChatMessageToolCall> toolCalls
final

The list of tool that the model wants to call. If the model does not want to call any tool, this list will be empty.

Implementation

final List<AIChatMessageToolCall> toolCalls;