<!--
{
  "availability" : [
    "Xcode: 27.0.0 -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Evaluations",
  "identifier" : "/documentation/Evaluations/ToolExpectation/PartiallyGenerated",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Evaluations"
    ],
    "preciseIdentifier" : "s:11Evaluations15ToolExpectationV18PartiallyGeneratedO"
  },
  "title" : "ToolExpectation.PartiallyGenerated"
}
-->

# ToolExpectation.PartiallyGenerated

A partially generated form of a tool expectation.

```
nonisolated enum PartiallyGenerated
```

## Topics

### Enumeration Cases

[`case anyOrder(expectations: Array<ToolExpectation>.PartiallyGenerated?)`](/documentation/Evaluations/ToolExpectation/PartiallyGenerated/anyOrder(expectations:))

A partially generated group of tool expectations that can match in any order.

[`case expectation(name: String.PartiallyGenerated?, arguments: Array<ArgumentMatcher>.PartiallyGenerated?)`](/documentation/Evaluations/ToolExpectation/PartiallyGenerated/expectation(name:arguments:))

A partially generated single tool expectation with an optional name and arguments.

### Initializers

[`init(GeneratedContent) throws`](/documentation/Evaluations/ToolExpectation/PartiallyGenerated/init(_:))

Creates a partial tool expectation from the given generated content.

## Relationships

### Conforms To

[`ConvertibleFromGeneratedContent`](/documentation/FoundationModels/ConvertibleFromGeneratedContent)

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

---

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)