ArchAstro. Types. AIToolCall
(archastro v0.2.0)
Copy Markdown
A tool (function) call emitted by the assistant within an AI message. Mirrors the OpenAI tool-call object format.
Summary
Types
@type t() :: %ArchAstro.Types.AIToolCall{ arguments: %{optional(String.t()) => ArchAstro.JSON.t()}, id: String.t(), name: String.t(), thought_signature: String.t() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()