---
title: "subscript(_:)"
framework: Foundation Models
role: symbol
role_heading: Instance Subscript
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, visionOS 26.0+, watchOS 27.0+]
path: "foundationmodels/transcript/toolcalls/subscript(_:)"
---

# subscript(_:)

Accesses the tool call at the specified position.

## Declaration

```swift
subscript(position: Int) -> Transcript.ToolCall { get }
```

## Parameters

- `position`: The position of the tool call to access, which must be a valid index of the collection.
