---
title: "resolve(from:context:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/resolver/resolve(from:context:)"
---

# resolve(from:context:)

Converts the specified value into the expected data type.

## Declaration

```swift
func resolve(from input: Self.Input, context: IntentParameterContext<Self.Output>) async throws -> Self.Output?
```

## Parameters

- `input`: The value to convert.
- `context`: Contextual resolution information, including resolution source and information about the associated parameter if applicable.

## Return Value

Return Value The converted value, or nil if conversion fails.

## See Also

### Resolving the type

- [Input](appintents/resolver/input.md)
- [Output](appintents/resolver/output.md)
