---
title: "requestConfirmation(for:dialog:view:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/intentparameter/requestconfirmation(for:dialog:view:)-6hiyi"
---

# requestConfirmation(for:dialog:view:)

Use requestConfirmation when you need to the ask user to confirm the parameter value.

## Declaration

```swift
final func requestConfirmation<ViewType>(for itemToConfirm: Value.ValueType, dialog: IntentDialog? = nil, view: ViewType) async throws -> Bool where ViewType : View
```

## Parameters

- `itemToConfirm`: The items to be presented to the user for confirmation
- `dialog`: A custom dialog that may be used when prompting the user for the value
- `view`: A view to display when requesting confirmation.

## See Also

### Requesting confirmation

- [requestConfirmation(for:dialog:)](appintents/intentparameter/requestconfirmation(for:dialog:).md)
- [requestConfirmation(for:dialog:view:)](appintents/intentparameter/requestconfirmation(for:dialog:view:)-9z0pe.md)
