API Reference ToolCall v#0.1.0

Copy Markdown

Modules

Derive LLM tool-call schemas from @spec and @doc.

Runtime normalisation of decoded JSON arguments into the value domains that typespecs promise.

Extracts tool descriptions from @doc strings.

Dispatches IR to a provider-specific schema.

Anthropic tool definition (name / description / input_schema).

OpenAI function-calling schema.

JSON Schema rendering shared by the provider emitters.

Intermediate representation between Elixir typespecs and wire schemas.

One entry of an object-shaped type.

One positional parameter of a tool function.

A compiled tool, as embedded into the defining module.

A node in the value-domain tree.

Validates and dispatches a decoded argument map to the tool function.

Resolves custom remote typespecs for use ToolCall, types: [...].

Converts a quoted typespec AST (aliases already expanded) into ToolCall.IR.Type.

Mix Tasks

Removes orphaned typedoc companion beams.

Exports the schemas derived by use ToolCall as JSON.