Contents

updateMetadata(_:)

Creates an action that replaces the metadata for a tool call.

Declaration

static func updateMetadata(_ values: [String : any ConvertibleToGeneratedContent]) -> LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action

Parameters

  • values:

    The key-value pairs that replace the current metadata for a tool call.

See Also

Tool call actions