Contents

toolCalls(entryID:action:)

A tool-calls event addressed to a transcript entry.

Declaration

static func toolCalls(entryID: String? = nil, action: LanguageModelExecutorGenerationChannel.ToolCalls.Action) -> LanguageModelExecutorGenerationChannel.Event

Parameters

  • entryID:

    The tool-calls entry this event targets. Pass nil to 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.

See Also

Handling the channel events