AfterToolCallResult class final
Partial override returned from AfterToolCallHook.
Merge semantics are field-by-field (pi semantics, no deep merge): each provided field replaces the corresponding value of the executed result; omitted fields keep their original values.
Constructors
-
AfterToolCallResult({List<
ContentBlock> ? content, bool? isError, bool? terminate}) -
const
Properties
-
content
→ List<
ContentBlock> ? -
Replaces the tool result content in full.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool?
-
Replaces the error flag.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminate → bool?
-
Replaces the early-termination hint.
final
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