ArchAstro. SDK. Types. AIToolResult
(archastro v0.3.3)
Copy Markdown
The result of executing a tool call, submitted back to the model as a tool-role message. Mirrors the OpenAI tool-result object format.
Summary
Types
@type t() :: %ArchAstro.SDK.Types.AIToolResult{ content: String.t() | ArchAstro.SDK.Unset.t(), id: String.t(), name: String.t(), resolution: ArchAstro.SDK.JSON.t() | ArchAstro.SDK.Unset.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()