<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: -",
    "macOS: 26.4.0 -",
    "tvOS: 26.4.0 -",
    "visionOS: 26.4.0 -",
    "watchOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentParameter/init(title:description:default:defaultUnit:requestValueDialog:inputConnectionBehavior:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents15IntentParameterCAAs8DurationV9ValueTypeRtzrlE5title11description7default0J4Unit07requestF6Dialog23inputConnectionBehaviorACyxG10Foundation23LocalizedStringResourceV_AQSg09UnwrappedG0QzSgAcaeGRSrlE0eK0Oyx_GSgYtAA0cM0VSgAA05InputoP0OYttcfc"
  },
  "title" : "init(title:description:default:defaultUnit:requestValueDialog:inputConnectionBehavior:)"
}
-->

# init(title:description:default:defaultUnit:requestValueDialog:inputConnectionBehavior:)

Creates an app intent parameter.

```
convenience init(title: LocalizedStringResource, description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, defaultUnit: IntentParameter<Value>.DurationUnit? = nil, requestValueDialog: IntentDialog? = nil, inputConnectionBehavior: InputConnectionBehavior = .default)
```

## Parameters

`title`

A word or short phrase summarizing this parameter.

`description`

Additional details about this parameter.

`defaultValue`

The default value for this parameter. People can specify a different value.

`defaultUnit`

The default unit that should be selected when this parameter is initially created.

`requestValueDialog`

A prompt that asks a person to provide the parameter value.

`inputConnectionBehavior`

An enum that indicates how this parameter receives the output from a preceding app intent.

---

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)