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

# requestConfirmation(for:dialog:)

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

## Declaration

```swift
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
