Normandy.LLM.Json.SchemaBinder (normandy v1.3.0)

View Source

Binds a parsed JSON map to a Normandy schema: normalize field names, cast, validate required fields, and unwrap a one-level tool-use "arguments" envelope.

Summary

Functions

bind(parsed, schema, content)

@spec bind(map(), struct(), binary()) :: {:ok, struct()} | {:error, term()}