<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentParameterDependency",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents25IntentParameterDependencyC"
  },
  "title" : "IntentParameterDependency"
}
-->

# IntentParameterDependency

A property wrapper that represents an app intent dependency you use to provide dynamic options.

```
@propertyWrapper final class IntentParameterDependency<Intent> where Intent : AppIntent
```

## Overview

Use the `IntentParameterDependency` property wrapper for properties that represent
dynamic options in your [`DynamicOptionsProvider`](/documentation/AppIntents/DynamicOptionsProvider) implementations as shown
in the following example:

```
struct SoupQuery: EntityStringQuery {
    @IntentParameterDependency<OrderSoup>(
        \.$quantity
    )
    var orderSoup

    func entities(matching string: String) async throws -> [Soup] {
        guard let orderSoup else {
            return []
        }
        return Soup.allSoups.filter {
            $0.name.contains(string) &&
            $0.availableQuantity >= orderSoup.quantity
        }
    }
}
```

---

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)