---
title: "updateMetadata(_:)"
framework: foundationmodels
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "foundationmodels/languagemodelexecutorgenerationchannel/reasoning/action-swift.struct/updatemetadata(_:)"
---

# updateMetadata(_:)

## Declaration

```swift
static func updateMetadata(_ values: [String : any Sendable & Codable & Equatable]) -> LanguageModelExecutorGenerationChannel.Reasoning.Action
```

## See Also

### Reasoning action constants

- [appendText(_:segmentID:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/reasoning/action-swift.struct/appendtext(_:segmentid:tokencount:).md)
- [replaceTextSegment(_:segmentID:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/reasoning/action-swift.struct/replacetextsegment(_:segmentid:tokencount:).md)
- [updateSignature(_:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/reasoning/action-swift.struct/updatesignature(_:tokencount:).md)
