Altar.ADM.ToolConfig (Altar v0.1.2)
View SourceToolConfig encapsulates model/tool-calling configuration, including mode and an optional allowlist of function names.
Use new/1 to construct validated instances.
Summary
Functions
Construct a new validated ToolConfig.
Types
Functions
Construct a new validated ToolConfig.
Accepts a map or keyword list with:
:mode(required): one of:auto | :any | :none:function_names(optional): list of strings, defaults to[]
Returns {:ok, %ToolConfig{}} on success or {:error, reason}.