ai.wire.render_output_format

The return type's schema as prompt text, in the standard dialect — exactly what ${ctx.output_format()} renders in an LLM function block.

Reference version

Signature

function ai.wire.render_output_format(t: reflect.Type) -> string throws reflect.errors.CompilationError

The return type's schema as prompt text, in the standard dialect — exactly what ${ctx.output_format()} renders in an LLM function block.

Source:<builtin>/ai/ns_wire/wire.bamlbytes 994410128