ArchAstro.Types.AIChatStreamToolCallDelta (archastro v0.2.0)

Copy Markdown

Incremental tool-call data emitted as the model assembles a tool invocation (SSE tool_call_delta event).

Summary

Types

t()

@type t() :: %ArchAstro.Types.AIChatStreamToolCallDelta{
  delta: String.t() | ArchAstro.Unset.t(),
  id: String.t() | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()