---
title: ordered
framework: evaluations
role: symbol
role_heading: Instance Property
path: evaluations/trajectoryexpectation/ordered
---

# ordered

Tool call steps that must be satisfied in sequential order.

## Declaration

```swift
var ordered: [ToolExpectation]
```

## Discussion

Discussion Each entry is either a single ToolExpectation or an anyOrder(_:) group where multiple tools must all be called at that position (in any relative order).

## See Also

### Combining expectations

- [unordered](evaluations/trajectoryexpectation/unordered.md)
- [disallowed](evaluations/trajectoryexpectation/disallowed.md)
- [allowsAdditionalCalls](evaluations/trajectoryexpectation/allowsadditionalcalls.md)
