Skip to main content

Module print_schema

Module print_schema 

Source
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.

When a subcommand is invoked with --print-schema, the handler must write the corresponding file from docs/schemas/*.schema.json to stdout as compact JSON 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.

Enums§

SchemaId
Identifiers for schemas that currently support --print-schema.

Functions§

emit
Emit the compact JSON Schema for id to stdout and flush.