---
title: segments
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/transcript/tooloutput/segments
---

# segments

Segments of the tool output.

## Declaration

```swift
var segments: [Transcript.Segment]
```

## See Also

### Inspecting a tool output

- [id](foundationmodels/transcript/tooloutput/id.md)
- [toolName](foundationmodels/transcript/tooloutput/toolname.md)
