id
TypeScriptget id(): stringSwift declarationvar id: StringThe identifier for the tool call.
struct · iOS 27.0+ · SDK 27.1
struct ToolCallA per-tool-call event payload. The `id` and `name` route the event to a specific tool call within the `ToolCalls` entry. The`action` names the mutation.
get id(): stringSwift declarationvar id: StringThe identifier for the tool call.
set id(value: string)Swift declarationvar id: StringThe identifier for the tool call.
get name(): stringSwift declarationvar name: StringThe name of the tool call.
set name(value: string)Swift declarationvar name: StringThe name of the tool call.
get action(): LanguageModelExecutorGenerationChannel_ToolCalls_ToolCall_ActionSwift declarationvar action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.ActionThe action to perform.
set action(value: LanguageModelExecutorGenerationChannel_ToolCalls_ToolCall_Action)Swift declarationvar action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.ActionThe action to perform.
No declarations were skipped in this snapshot.