AgentFact class final
One fact an agent tool resolved from the store (issue #2256).
A fact is the tool's answer unit: the principal key of the store document it came from, a human-readable label, and the typed attributes read off the entity. Every fact is traceable to a document, which is what makes the agent's answer auditable against what the UI renders.
Constructors
Properties
-
attributes
→ Map<
String, Object?> -
The typed attributes read off the entity.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The principal key of the store document this fact was read from.
final
- label → String
-
A human-readable label for the fact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited