AgentToolResultEvent class

Inheritance

Constructors

AgentToolResultEvent({required int ts, required String traceId, String? mapId, required String stepId, required String toolName, required Map<String, dynamic> result, required bool ok, int? durationMs})
const

Properties

durationMs → int?
final
hashCode → int
The hash code for this object.
no setterinherited
mapId → String?
Phân biệt nhiều map trên cùng một trang (bus là singleton).
finalinherited
ok → bool
final
result → Map<String, dynamic>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stepId → String
final
toolName → String
final
traceId → String
Nhóm các event thuộc cùng một lượt (một turn agent, hoặc một lần executeBatch gọi trực tiếp).
finalinherited
ts → int
Unix epoch ms.
finalinherited
type → String
Tên loại event dạng wire — khớp chuỗi type của bản TS.
no setteroverride

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