ToolFnArg<Input> class
final
Arguments passed to a tool function execution.
Constructors
-
ToolFnArg(ActionFnArg<
void, Input, void> _base)
Properties
- cancel → CancellationToken?
-
A read-only cancellation token the tool body should observe to abort
long-running work cooperatively, or
nullwhen the caller wired up no cancellation.no setter -
context
→ Map<
String, dynamic> ? -
The execution context.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- resumed → dynamic
-
The resumed payload if this tool was restarted after an interrupt.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolRequest → ToolRequestPart?
-
The tool request that triggered this execution.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited