---
title: id
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/id
---

# id

The identifier for the tool call.

## Declaration

```swift
var id: String
```

## See Also

### Handling a tool call

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