toolCall(id:name:action:)
Creates an action that routes an event to a specific tool call within the entry.
Declaration
static func toolCall(id: String, name: String, action: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action) -> LanguageModelExecutorGenerationChannel.ToolCalls.ActionParameters
- id:
The identifier of the tool call the event targets.
- name:
The name of the tool being called.
- action:
The operation to perform on the tool call.