---
title: name
framework: evaluations
role: symbol
role_heading: Instance Property
path: evaluations/toolexpectation/name
---

# name

The name of the tool that the evaluation expects the model to call.

## Declaration

```swift
var name: String { get }
```

## Discussion

Discussion This is only valid for single expectations. Accessing this on an anyOrder(_:) group is a programming error.

## See Also

### Accessing expectation details

- [arguments](evaluations/toolexpectation/arguments.md)
- [isAnyOrderGroup](evaluations/toolexpectation/isanyordergroup.md)
