schema
Usage
soulpass schema [--summary [--all]] [--compact] [--command <path>]
Print the complete command tree as structured JSON. Designed for AI agents to discover available commands, arguments, routing, and safety rules without scraping help text.
Flags
--summary— Index only: one row per agent-callable leaf command {path, abstract, effects, latency} plus chains/environment — read this first, then--command <path>. Human-only commands are counted (humanOnlyOmitted), not listed--all— With--summary: list the human-only commands too (an agent hands those to a person)--compact— Omit discussion text for shorter output (structured arguments and wallet-safety guidance are always kept)--command <path>— Print only this command's subtree, as a space-separated path (e.g. "lend deposit")
Top-level keys
commands— Full tree; each argument carries kind/type/required plus help, default, and legal enum valuesrouting— How each multi-venue command routes (chain/venue/subcommand) and which pot it spends from (wallet vs exchange account)chains— Legal--chainvalues in this environmentenvironment— production (mainnet) or test (devnet/testnets)effectsClasses/latencyClasses— What each command'seffects.kindandlatencymean, with suggested agent timeoutsexecutionPolicy,walletSelection,concurrency,compatibility— what agentCallable means, how an invocation picks its wallet (SOULPASS_WALLET), same-wallet parallelism, and stability guaranteeserrorContract— Error JSON shape, exit codes, common codes
Every leaf node also carries effects, latency and output (the success-payload field contract). Arguments required in only one of a command's modes carry requiredWhen instead of required: true.
agentCallable
Every command node carries agentCallable. A false value means the agent may explain the command to its human but must not invoke it — those nodes declare execution: human_tty and are enforced again at runtime through the controlling terminal.
Examples
soulpass schema --summary
soulpass schema --command "lend deposit"
soulpass schema --compact