AgentAction class

Record of a single action executed by the AI agent.

Constructors

AgentAction({required String toolName, required Map<String, dynamic> arguments, required ToolResult result, required DateTime executedAt})
const

Properties

arguments Map<String, dynamic>
The arguments passed to the tool.
final
executedAt DateTime
When this action was executed.
final
hashCode int
The hash code for this object.
no setterinherited
result ToolResult
The result returned by the tool execution.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolName String
The tool name that was called (e.g., "tap_element", "navigate_to_route").
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDisplayString() String
Human-readable summary for display in chat bubbles.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited