Really wanted to try this out, so I did TL;DR: works really well with a catch, you can't do parallel tool calls when using a CFG These are really useful for weird shapes (when JSON/props don't work), but definitely not a new default for all tool calls DETAILS BELOW
ben
ben8.8. klo 06.24
This is insane: GPT-5 supports context-free grammars You can define your DSL and constrain the output to it. The alternative was having some model-compatible JSON representation that was converted into your DSL. So many little things adding up here.
4,08K