AISToolCall class
One structured tool call and optional result captured during a model turn.
Constructors
-
AISToolCall(List<
int> bytes) -
factory
Properties
- ARGUMENTS_TEXT → String?
-
Serialized tool arguments as invoked.
no setter
- argumentsText → String?
-
no setter
- CALL_ID → String?
-
Model-assigned call identifier.
no setter
- callId → String?
-
no setter
- DURATION_MS → int
-
Wall-clock duration of the tool execution in milliseconds.
no setter
- durationMs → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- IS_ERROR → bool
-
True when the tool invocation returned an error.
no setter
- isError → bool
-
no setter
- RESULT_TEXT → String?
-
Serialized or summarized tool result returned to the model.
no setter
- resultText → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- TOOL_NAME → String?
-
Invoked tool name.
no setter
- toolName → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
AISToolCall>