---
title: LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.ArgumentsFragment
framework: foundationmodels
role: symbol
role_heading: Structure
path: foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/argumentsfragment
---

# LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.ArgumentsFragment

Append argument text to this tool call.

## Declaration

```swift
struct ArgumentsFragment
```

## Overview

Overview The first event for a given id opens the tool call (using name from the enclosing LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall); subsequent events append additional argument text.

## Topics

### Handling the arguments fragment

- [content](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/argumentsfragment/content.md)
- [tokenCount](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/argumentsfragment/tokencount.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)
- [LanguageModelExecutorGenerationChannel.ToolCalls.ToolCall.Action](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/action-swift.enum.md)
- [id](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/id.md)
- [name](foundationmodels/languagemodelexecutorgenerationchannel/toolcalls/toolcall/name.md)
