octave_compile_grammar
Compile OCTAVE schema or contract into constraint grammar for GBNF or JSON Schema output. Choose a builtin schema name or provide inline OCTAVE content.
Instructions
Compile OCTAVE schema or contract to constraint grammar. Supports GBNF (llama.cpp) and JSON Schema (vLLM) output formats. Provide either a builtin schema name or inline OCTAVE content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Builtin schema name to compile grammar from (e.g., 'SKILL', 'META'). Mutually exclusive with content. | |
| content | No | Inline OCTAVE document content with META.CONTRACT or FIELDS block. Mutually exclusive with schema. | |
| format | No | Output format: gbnf (default) or json_schema. |