<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/Transcript/Entry",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels10TranscriptV5EntryO"
  },
  "title" : "Transcript.Entry"
}
-->

# Transcript.Entry

An entry in a transcript.

```
@nonexhaustive enum Entry
```

## Overview

An individual entry in a transcript may represent instructions from you
to the model, a prompt from a user, tool calls, or a response generated
by the model.

## Topics

### Entry cases

[`case instructions(Transcript.Instructions)`](/documentation/FoundationModels/Transcript/Entry/instructions(_:))

Instructions, typically provided by you, the developer.

[`case prompt(Transcript.Prompt)`](/documentation/FoundationModels/Transcript/Entry/prompt(_:))

A prompt, typically sourced from an end user.

[`case response(Transcript.Response)`](/documentation/FoundationModels/Transcript/Entry/response(_:))

A response from the model.

[`case reasoning(Transcript.Reasoning)`](/documentation/FoundationModels/Transcript/Entry/reasoning(_:))

Reasoning from the model.

[`struct Response`](/documentation/FoundationModels/Transcript/Response)

A response from the model.

[`case toolCalls(Transcript.ToolCalls)`](/documentation/FoundationModels/Transcript/Entry/toolCalls(_:))

A collection of tool calls generated by the model.

[`struct ToolCalls`](/documentation/FoundationModels/Transcript/ToolCalls)

A collection of tool calls generated by the model.

[`struct ToolCall`](/documentation/FoundationModels/Transcript/ToolCall)

A tool call generated by the model containing the name of a tool and arguments to pass to it.

[`case toolOutput(Transcript.ToolOutput)`](/documentation/FoundationModels/Transcript/Entry/toolOutput(_:))

A tool output provided back to the model.

[`struct ToolOutput`](/documentation/FoundationModels/Transcript/ToolOutput)

A tool output provided back to the model.

### Enumeration Cases

[`case data(Transcript.DataEntry)`](/documentation/FoundationModels/Transcript/Entry/data(_:))

An entry representing a custom type encoded as data.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Escapable`](/documentation/Swift/Escapable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`Identifiable`](/documentation/Swift/Identifiable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)