Changelog
Copy MarkdownUnreleased
0.1.0 - 2026-11-09
Added
- Derive tool schemas from
@spec,@doc, and@typedocwithout a separate schema DSL. - Emit OpenAI and Anthropic tool schemas, including OpenAI strict mode.
- Dispatch tool calls through
ToolCall.run/3with required and unknown argument checks, coercion, and exception wrapping. - Export schemas as JSON for OpenAI, Anthropic, and MCP with
mix tool_call.export. - Resolve custom application types through
ToolCall.TypeProvider, including an optionalcoerce/1hook. - Recover docs-visible
@typemetadata from a compile-time companion beam so releases keep typedoc descriptions. - Support large integer arguments with the
string_integerwire format.
Changed
- Speed up scalar tool dispatch with generated per-tool runners, falling back
to
ToolCall.Runnerfor complex shapes.
Compatibility
- Requires Elixir
~> 1.18and Erlang/OTP 27.1 or newer.