toolCalls(entryID:action:)
A tool-calls event addressed to a transcript entry.
Declaration
static func toolCalls(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.ToolCalls.Action) -> LanguageModelExecutorGenerationChannel.EventParameters
- entryID:
The tool-calls entry this event targets. Pass
nilto let the framework coalesce consecutive tool-calls events into a single entry; pass an explicit id to anchor the event to a specific entry. - action:
The operation to perform on the tool-calls entry.