Expand description
Agent-native R-AN-01: --print-schema emits embedded JSON Schema and exits.
Agent-native R-AN-01: emit a command’s JSON Schema and exit without work.
Two surfaces share this module:
- the per-subcommand
--print-schemaflag, which emits the one schema its subcommand documents; - the top-level
schemasubcommand, which lists every contract shipped indocs/schemas/and emits any of them by id.
Both write compact JSON to stdout and return successfully without opening the database, calling an LLM, or performing other side effects.
Schemas are embedded at compile time so the installed binary does not depend on a source-tree checkout.
Structs§
- Schema
Args - Arguments for the top-level
schemasubcommand.
Enums§
- Schema
Id - Identifiers for every JSON Schema shipped under
docs/schemas/.