> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Inworld Process Context

[Overview](./overview) > Inworld Process Context

**Class:** `UInworldProcessContext` | **Inherits from:** `UObject`

Context object for managing runtime data during graph execution. This class provides access to runtime data that can be shared across nodes during graph execution. It allows nodes to store and retrieve data using key-value pairs, supporting various data types including basic types, objects, and structures.

## Methods

* [Create](#create)
* [GetProcessContext](#getprocesscontext)
* [GetRuntimeBool](#getruntimebool)
* [GetRuntimeData](#getruntimedata)
* [GetRuntimeFloat](#getruntimefloat)
* [GetRuntimeInt](#getruntimeint)
* [GetRuntimeObject](#getruntimeobject)
* [GetRuntimeObject](#getruntimeobject)
* [GetTextEmbedder](#gettextembedder)
* [SetProcessContext](#setprocesscontext)
* [SetRuntimeData](#setruntimedata)

## Reference

### Create

## Examples

```c++ theme={"system"}
UInworldProcessContext* Create()
```

#### Returns

**Type:** `UInworldProcessContext*`

***

### GetProcessContext

## Examples

```c++ theme={"system"}
inworld::ProcessContext* GetProcessContext()
```

#### Returns

**Type:** `inworld::ProcessContext*`

***

### GetRuntimeBool

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeBool.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=6c5b4630b0eb092d4a4b05d5548a7a2b" alt="GetRuntimeBool Blueprint Node" width="246" height="111" data-path="img/unreal/runtime/nd_img_GetRuntimeBool.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeBool(
    FName Key,
    bool& OutBool
)
```

#### Parameters

| Parameter | Type    | Description |
| --------- | ------- | ----------- |
| Key       | `FName` |             |
| OutBool   | `bool&` |             |

#### Returns

**Type:** `bool`

***

### GetRuntimeData

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeData.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=54c577e04f3d9b291ac0a7a07a988546" alt="GetRuntimeData Blueprint Node" width="246" height="111" data-path="img/unreal/runtime/nd_img_GetRuntimeData.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeData(
    FName Key,
    FInworldDataHandle& OutData
)
```

#### Parameters

| Parameter | Type                  | Description |
| --------- | --------------------- | ----------- |
| Key       | `FName`               |             |
| OutData   | `FInworldDataHandle&` |             |

#### Returns

**Type:** `bool`

***

### GetRuntimeFloat

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeFloat.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=2f3f53e3de9df6cced128918a2ed6f34" alt="GetRuntimeFloat Blueprint Node" width="246" height="111" data-path="img/unreal/runtime/nd_img_GetRuntimeFloat.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeFloat(
    FName Key,
    float& OutFloat
)
```

#### Parameters

| Parameter | Type     | Description |
| --------- | -------- | ----------- |
| Key       | `FName`  |             |
| OutFloat  | `float&` |             |

#### Returns

**Type:** `bool`

***

### GetRuntimeInt

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeInt.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=56681743ba0cafe37f80938b7fed6f3a" alt="GetRuntimeInt Blueprint Node" width="246" height="111" data-path="img/unreal/runtime/nd_img_GetRuntimeInt.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeInt(
    FName Key,
    int32& OutInt
)
```

#### Parameters

| Parameter | Type     | Description |
| --------- | -------- | ----------- |
| Key       | `FName`  |             |
| OutInt    | `int32&` |             |

#### Returns

**Type:** `bool`

***

### GetRuntimeObject

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeObject.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=07b04ae9d0741b40685c041b88159e2f" alt="GetRuntimeObject Blueprint Node" width="301" height="165" data-path="img/unreal/runtime/nd_img_GetRuntimeObject.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeObject(
    FName Key,
    TSubclassOf<UObject> ObjectClass,
    UObject*& OutObject
)
```

#### Parameters

| Parameter   | Type                   | Description |
| ----------- | ---------------------- | ----------- |
| Key         | `FName`                |             |
| ObjectClass | `TSubclassOf<UObject>` |             |
| OutObject   | `UObject*&`            |             |

#### Returns

**Type:** `bool`

***

### GetRuntimeObject

<img src="https://mintcdn.com/inworldai/FLbWLM7DwaqfvDaU/img/unreal/runtime/nd_img_GetRuntimeObject.png?fit=max&auto=format&n=FLbWLM7DwaqfvDaU&q=85&s=07b04ae9d0741b40685c041b88159e2f" alt="GetRuntimeObject Blueprint Node" width="301" height="165" data-path="img/unreal/runtime/nd_img_GetRuntimeObject.png" />

## Examples

```c++ theme={"system"}
bool GetRuntimeObject()
```

#### Returns

**Type:** `bool`

***

### GetTextEmbedder

## Examples

```c++ theme={"system"}
inworld::StatusOr_TextEmbedderInterface GetTextEmbedder()
```

#### Returns

**Type:** `inworld::StatusOr_TextEmbedderInterface`

***

### SetProcessContext

## Examples

```c++ theme={"system"}
void SetProcessContext()
```

***

### SetRuntimeData

<img src="https://mintcdn.com/inworldai/UjBJ5lUznbajzMw5/img/unreal/runtime/nd_img_SetRuntimeData.png?fit=max&auto=format&n=UjBJ5lUznbajzMw5&q=85&s=0d0ee960db9102c44758d0c7c5ff56ed" alt="SetRuntimeData Blueprint Node" width="246" height="173" data-path="img/unreal/runtime/nd_img_SetRuntimeData.png" />

## Examples

```c++ theme={"system"}
void SetRuntimeData(
    FName Key,
    FInworldDataHandle Data
)
```

#### Parameters

| Parameter | Type                 | Description |
| --------- | -------------------- | ----------- |
| Key       | `FName`              |             |
| Data      | `FInworldDataHandle` |             |

***
