ToolCall.Emit.OpenAI (ToolCall v0.1.0)

Copy Markdown

OpenAI function-calling schema.

Pass strict: true to get the shape required by "strict": true: the tool object carries "strict": true, every property is required, previously optional values are typed ["T", "null"], and every object is closed with additionalProperties: false.

Summary

Functions

emit(tool, opts \\ [])

@spec emit(ToolCall.IR.Tool.t(), keyword()) :: map()