octave_compile_grammar
Convert OCTAVE schemas or contracts into constraint grammar in GBNF or JSON Schema format. Choose a builtin schema 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 |
|---|---|---|---|
| format | No | Output format: gbnf (default) or json_schema. | |
| 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. |