action
TypeScriptget action(): LanguageModelExecutorGenerationChannel_ToolCalls_ActionSwift declarationvar action: LanguageModelExecutorGenerationChannel.ToolCalls.ActionThe action to perform.
struct · iOS 27.0+ · SDK 27.1
struct ToolCallsA tool-call lifecycle event, including per-call argument streaming, reasoning, metadata, usage, or retraction. Events for a specific tool call route through ``Action/toolCall(id:name:action:)``. Use ``Action/removeToolCall(id:)`` to drop a tool call the model retracted.
get action(): LanguageModelExecutorGenerationChannel_ToolCalls_ActionSwift declarationvar action: LanguageModelExecutorGenerationChannel.ToolCalls.ActionThe action to perform.
set action(value: LanguageModelExecutorGenerationChannel_ToolCalls_Action)Swift declarationvar action: LanguageModelExecutorGenerationChannel.ToolCalls.ActionThe action to perform.
get entryID(): (string) | nullSwift declarationvar entryID: String?The identifier for the entry.
set entryID(value: (string) | null)Swift declarationvar entryID: String?The identifier for the entry.
No declarations were skipped in this snapshot.