# InteractionInputLoadContext

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

The context passed to a polyglot dynamic-loading callback. Exposes the loading input as a handle and provides read access to the other inputs in the prompt.

## Definition

```typescript
interface InteractionInputLoadContext {
  readonly inputs: InteractionInputCollection;
  input(): InteractionLoadingInput;
}
```

## Properties

- `inputs`: [InteractionInputCollection](/reference/api/typescript/aspire.hosting/interactioninputcollection.md) `get` -- Gets all inputs in the prompt, including the one currently loading.

## Methods

- [input](/reference/api/typescript/aspire.hosting/interactioninputloadcontext/input.md) -- `method` -- Gets a handle to the input that is loading. Mutate the input through this handle.
    ```typescript
  input(): InteractionLoadingInput
  ```
