<!--
{
  "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/AppShortcutParameterPresentation/init(for:summary:optionsCollections:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A29ShortcutParameterPresentationV3for7summary18optionsCollectionsACyxq_q0_q1_Gq1__AA0acdE7SummaryVyxq_q0_q1_Gqd__yXEtcAA0aC30OptionsCollectionSpecificationRd__5ValueQyd__13UnwrappedTypeRt_lufc"
  },
  "title" : "init(for:summary:optionsCollections:)"
}
-->

# init(for:summary:optionsCollections:)

Creates an object that represents the App Shortcut with the specified parameters.

```
init(for keyPath: ParameterKeyPath, summary: AppShortcutParameterPresentationSummary<Intent, Value, Parameter, ParameterKeyPath>, @AppShortcutOptionsCollectionSpecificationBuilder<Value.UnwrappedType> optionsCollections: () -> some AppShortcutOptionsCollectionSpecification<Value.UnwrappedType>)
```

## Parameters

`keyPath`

A `KeyPath` representing the parameter being used in the presentation.

`summary`

Represents the summary of the parameter used in the presentation.

`optionsCollections`

A closure returning an `AppShortcutOptionsCollectionSpecification` that defines
the options available for the parameter used in the presentation.

---

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)