---
title: action
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/action-swift.property
---

# action

The action to perform.

## Declaration

```swift
var action: LanguageModelExecutorGenerationChannel.ToolCalls.Action
```

## See Also

### Handling tool calls

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