Validates one LLM tool-call argument bag at the zero-trust ingress (issue #2256).
Every tool the agent exposes takes its arguments from a model, which is an
untrusted source: a malformed bag must become structured FieldViolation
feedback the model can correct, never a TypeError, a CastError or a
half-built intent. The decode is the intent's own generated fromWire —
the SAME trust boundary the wire transports use — so there is exactly one
definition of "well-formed arguments" per tool.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
feedback(
ZorphyBoundaryResult< Object?> result) → String -
Renders
resultas the feedback a model can act on. -
validate<
I> (Map< String, Object?> args, ZorphyBoundaryResult<I> decode(Map<String, Object?> )) → ZorphyBoundaryResult<I> -
Decodes
argsthroughdecode, the intent'sfromWire.