AgentToolResult class final
A tool answer joined to its call. No status is inferred from its content:
a returned application value can itself contain a status key.
Properties
- content → String
-
The original content, including when it is not JSON.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolCallId → String
-
final
- toolName → String?
-
Null when the request has no matching named call.
final
- value → Object?
-
The JSON-decoded content. Throws FormatException for non-JSON content.
latefinal
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