Expand description
Output schema validation for spec agent outputs.
This module provides JSON Schema validation for agent outputs when specs
define an output_schema field in their frontmatter.
§Doc Audit
- audited: 2026-01-29
- docs: reference/schema.md
- ignore: false
Structs§
- Validation
Result - Result of validating agent output against a JSON schema
Functions§
- extract_
json_ from_ output - Extract JSON from agent output text.
- generate_
schema_ prompt_ section - Generate an “Output Format” prompt section from a JSON schema.
- load_
schema - Load and compile a JSON schema from a file path
- validate_
agent_ output - Validate agent output against a JSON schema file.
- validate_
spec_ output_ from_ log - Read the agent log file for a spec and validate its output against the schema.