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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "octave_compile_grammar"
}
}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. |