---
title: LanguageModelExecutorGenerationChannel.ToolCalls.Action
framework: foundationmodels
role: symbol
role_heading: Enumeration
path: foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum
---

# LanguageModelExecutorGenerationChannel.ToolCalls.Action

## Declaration

```swift
enum Action
```

## Topics

### Tool calling for action cases

- [LanguageModelExecutorGenerationChannel.ToolCalls.Action.removeToolCall(id:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/removetoolcall(id:).md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.Action.toolCall(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/toolcall(_:).md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.Action.updateMetadata(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/updatemetadata(_:)-swift.enum.case.md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.Action.updateUsage(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/updateusage(_:).md)

### Tool calling for action constants

- [toolCall(id:name:action:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/toolcall(id:name:action:).md)
- [updateMetadata(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/updatemetadata(_:)-swift.type.method.md)
- [updateUsage(input:output:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.enum/updateusage(input:output:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling tool calls

- [action](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.property.md)
- [entryID](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/entryid.md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall.md)
