ValidationReject class
The candidate action was rejected by one of the three passes.
Field meanings:
- tool — the tool name from the rejected action (echoed for clarity).
- reason — one of:
unknown_tool,schema_invalid,done_reason_mismatch,done_evidence_missing,done_evidence_mismatch,node_not_found,node_disabled. The loop driver routes on this string. - expected — for
unknown_tool, the list of available tool names. - got — what the action actually carried (e.g. the unknown tool name, or the offending node id).
- pointer — JSON Pointer to the bad field (e.g.
/node_id,/scrollable_id, or a sub-pointer insideargsfor schema violations). Null when not applicable. - description — short, single-line human description suitable for splicing into a retry prompt.
- Inheritance
-
- Object
- ValidationResult
- ValidationReject
Constructors
Properties
- description → String?
-
One-line human description suitable for retry-prompt splicing.
final
-
expected
→ List<
String> ? -
Expected values (e.g. list of available tool names for
unknown_tool). Null when not applicable.final - got → Object?
-
What the action actually carried (e.g. the unknown tool name, or
the node id that didn't resolve). Null when not applicable.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- pointer → String?
-
JSON Pointer to the bad field. Null when not applicable.
final
- reason → String
-
Rejection reason — one of:
unknown_tool,schema_invalid,done_reason_mismatch,done_evidence_missing,done_evidence_mismatch,node_not_found,node_disabled.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tool → String
-
Tool name from the rejected action.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toModelMessage(
) → String - Encode as a single-line JSON string for the loop driver to splice into the model's retry prompt. Keys with null values are omitted.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override