Derives the agent ui.render tool input schema directly from an
exported vocabulary artifact (SC-004 — "consumed as-is ... with no
manual transformation").
The produced schema describes the tool's tree parameter: a recursive
node object whose type enum, styleToken enum, and actionId
pattern come straight from the export.
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
-
fromExport(
Map< String, dynamic> export) → Map<String, dynamic> -
Builds
{'tree': <node-schema>}fromexport. -
validateTree(
Map< String, dynamic> schema, Map<String, dynamic> tree) → String? -
Lightweight structural check of
treeagainst a derivedschema(from fromExport). Returns null when the tree is acceptable, or a human-readable violation message.