Fetch schema
Schema model
Each node contains:pathuseshortflags[](name,type,usage, typeddefault, optionalshorthand,required,enum,format,scope)- optional command metadata such as
mutation,input_modes,input_constraints,auth,request, andresponse subcommands[]
Practical uses
- Generate UI forms from flag metadata.
- Validate requested flags before execution.
- Enforce cross-field rules like
exactly_one_of(wallet, from_address)before execution. - Discover auth requirements and structured input modes at runtime.
- Produce autocomplete for command builders.
- Build policy-aware execution layers with
--enable-commands.
Notes
- Hidden commands are not included.
- Execution
planandsubmitcommands expose the same request fields through flags and structured JSON/file input; flags override structured input values. - Runtime constraints (for example, mutually exclusive amount flags) still require command execution validation.

