ArchAstro. Types. AIToolResult
(archastro v0.2.0)
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.Types.AIToolResult{ content: String.t() | ArchAstro.Unset.t(), id: String.t(), name: String.t(), resolution: ArchAstro.JSON.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()