ToolCall class

One tool call the model emitted this turn.

Constructors

ToolCall({required String id, required String name, required String argumentsJson})
const

Properties

argumentsJson → String
Arguments as a JSON object string.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Correlation id for this call, e.g. call_0. Echo it back as ToolResult.callId.
final
name → String
Which tool the model wants to run.
final
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.
inherited