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

# LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action

## Declaration

```swift
enum Action
```

## Topics

### Tool call action cases

- [LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action.appendArguments(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.enum/appendarguments(_:).md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action.updateMetadata(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.enum/updatemetadata(_:)-swift.enum.case.md)

### Tool call action constants

- [appendArguments(_:tokenCount:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.enum/appendarguments(_:tokencount:).md)
- [updateMetadata(_:)](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.enum/updatemetadata(_:)-swift.type.method.md)

## Relationships

### Conforms To

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

## See Also

### Handling a tool call

- [action](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.property.md)
- [id](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/id.md)
- [name](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/name.md)
- [LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.ArgumentsFragment](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/argumentsfragment.md)
