toolCalls property

List<AIToolCall>? toolCalls
final

For 'assistant' role: a list of tool invocations requested by the model.

Implementation

final List<AIToolCall>? toolCalls;