---
title: Transcript.ToolCalls
framework: foundationmodels
role: symbol
role_heading: Structure
path: foundationmodels/transcript/toolcalls
---

# Transcript.ToolCalls

A collection tool calls generated by the model.

## Declaration

```swift
struct ToolCalls
```

## Topics

### Creating a tool calls

- [init(id:_:)](foundationmodels/transcript/toolcalls/init(id:_:).md)

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Identifiable](swift/identifiable.md)
- [RandomAccessCollection](swift/randomaccesscollection.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)

## See Also

### Constructing content

- [Transcript.TextSegment](foundationmodels/transcript/textsegment.md)
- [Transcript.StructuredSegment](foundationmodels/transcript/structuredsegment.md)
- [Transcript.ResponseFormat](foundationmodels/transcript/responseformat.md)
- [Transcript.ToolDefinition](foundationmodels/transcript/tooldefinition.md)
- [Transcript.AttachmentSegment](foundationmodels/transcript/attachmentsegment.md)
- [Transcript.ImageAttachment](foundationmodels/transcript/imageattachment.md)
- [Transcript.Instructions](foundationmodels/transcript/instructions.md)
- [Transcript.Prompt](foundationmodels/transcript/prompt.md)
- [Transcript.Reasoning](foundationmodels/transcript/reasoning.md)
- [Transcript.Response](foundationmodels/transcript/response.md)
- [Transcript.ToolCall](foundationmodels/transcript/toolcall.md)
- [Transcript.ToolOutput](foundationmodels/transcript/tooloutput.md)
- [Transcript.CustomSegment](foundationmodels/transcript/customsegment.md)
