ToolCallEvent class

A tool call the model finished requesting, with fully-accumulated arguments.

Always carries ToolCallStatus.pending — executing it and reporting the result back through ToolCallStatus.success/ToolCallStatus.error is the host app's job, via ChatController.upsertToolCall.

Inheritance
Annotations

Constructors

ToolCallEvent(ToolCall call)
const

Properties

call ToolCall
The requested call.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override