---
title: "makeContainer(context:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/intentvalueconvertible/makecontainer(context:)"
---

# makeContainer(context:)

Creates an intent value container that represents this value.

## Declaration

```swift
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainer
```

## Parameters

- `context`: The context to use for the conversion.

## Return Value

Return Value An intent value container representing this value.

## Discussion

Discussion This method converts the value to a type-erased container that App Intents can use. The container encapsulates the value and provides mechanisms for type-safe access and conversion.
