---
title: "LanguageModelExecutorGenerationChannel.Response.Action.removeAttachmentSegment(id:)"
framework: foundationmodels
role: symbol
role_heading: Case
path: "foundationmodels/languagemodelexecutorgenerationchannel/response/action-swift.enum/removeattachmentsegment(id:)"
---

# LanguageModelExecutorGenerationChannel.Response.Action.removeAttachmentSegment(id:)

## Declaration

```swift
case removeAttachmentSegment(id: String)
```

## See Also

### Response action constants

- [appendText(_:segmentID:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/response/action-swift.enum/appendtext(_:segmentid:tokencount:).md)
- [replaceTextSegment(_:segmentID:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/response/action-swift.enum/replacetextsegment(_:segmentid:tokencount:).md)
- [updateMetadata(_:)](foundationmodels/languagemodelexecutorgenerationchannel/response/action-swift.enum/updatemetadata(_:)-swift.type.method.md)
- [updateUsage(input:output:)](foundationmodels/languagemodelexecutorgenerationchannel/response/action-swift.enum/updateusage(input:output:).md)
