AgentRunStep class final
One tool call made during a run, as the preview shows it and the run reports it.
Constructors
-
AgentRunStep({required int index, required String toolName, AgentToolException? error, bool notSimulated = false, Map<
String, Object?> arguments = const {}, Object? result}) -
const
Properties
-
arguments
→ Map<
String, Object?> -
What the call was given — kept so the run can be dry-run again from where
it started.
final
- error → AgentToolException?
-
Null when the call completed; the refusal otherwise.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
1-based, in the order the calls were made.
final
- notSimulated → bool
-
For a dry run: the call needs execution, which a dry run does not
perform, so its outcome is unknown rather than simulated.
final
- ok → bool
-
no setter
- result → Object?
-
What the call answered, when it completed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolName → String
-
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