Contents

updateMetadata(_:)

Creates an action that replaces the tool call’s metadata.

Declaration

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

Parameters

  • values:

    The key-value pairs that replace the tool call’s current metadata.

See Also

Tool calling actions