ToolCallRecord class

A single tool-call record in the mission trace (FR-007).

Constructors

ToolCallRecord({required String name, required String argumentsHash, required Map<String, Object?> cleartextArgs, required Duration duration, required ToolCallStatus status, required int tokenUsage, required String? provider})

Properties

argumentsHash → String
Hash of the arguments (SHA-256 hex by default; FR-008).
final
cleartextArgs → Map<String, Object?>
Fields explicitly allowlisted to be recorded in cleartext (FR-008). All other fields are redacted from the trace.
final
duration → Duration
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
provider → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → ToolCallStatus
Outcome of the tool call, typed as ToolCallStatus (FR-007).
final
tokenUsage → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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