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

# requestConfirmation(for:dialog:)

Request that the user confirm the parameter value.

## Declaration

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

## 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

## Return Value

Return Value Whether or not the user confirmed the value

## See Also

### Requesting confirmation

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