LanguageModelExecutorGenerationChannel.ToolCalls
A tool-call lifecycle event, including per-call argument streaming, reasoning, metadata, usage, or retraction.
Declaration
struct ToolCallsOverview
Events for a specific tool call route through LanguageModelExecutorGenerationChannel.ToolCalls.Action.toolCall(_:). Use LanguageModelExecutorGenerationChannel.ToolCalls.Action.removeToolCall(id:) to drop a tool call the model retracted.
Topics
Handling tool calls
See Also
Accessing the event types
LanguageModelExecutorGenerationChannel.EventKindLanguageModelExecutorGenerationChannel.MetadataLanguageModelExecutorGenerationChannel.ReasoningLanguageModelExecutorGenerationChannel.ReasoningSignatureLanguageModelExecutorGenerationChannel.TextFragmentLanguageModelExecutorGenerationChannel.TextSegmentReplacementLanguageModelExecutorGenerationChannel.ResponseLanguageModelExecutorGenerationChannel.Usage