---
title: "requestValue(_:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/intentparametercontext/requestvalue(_:)"
---

# requestValue(_:)

Request a value from the user for this parameter.

## Declaration

```swift
func requestValue(_ dialog: IntentDialog? = nil) async throws -> Value.ValueType
```

## Parameters

- `dialog`: A custom dialog that may be used when prompting the user for the value

## Return Value

Return Value The value supplied by the user
