---
sidebar:
  label: roboto.action_runtime.prepare
  order: 5
title: roboto.action_runtime.prepare
---
Action runtime setup utilities.

This module provides utilities for preparing action runtime (invocation) environments, both in hosted execution and local development contexts.

## Module Contents

### log

```python
roboto.action_runtime.prepare.log
```

`from roboto.action_runtime.prepare import log`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/prepare.py#L36-L36)

### prepare_invocation_input_data()

```python
def roboto.action_runtime.prepare.prepare_invocation_input_data(
    requires_downloaded_inputs: bool,
    input_data: Optional[roboto.domain.actions.InvocationInput],
    target_directory: pathlib.Path,
    download_directory: pathlib.Path,
    inputs_data_manifest_file: pathlib.Path,
    roboto_client: roboto.http.RobotoClient,
    roboto_search: roboto.roboto_search.RobotoSearch,
)
```

`from roboto.action_runtime import prepare_invocation_input_data`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/prepare.py#L142-L182)

**Parameters**

- **requires_downloaded_inputs** (`bool`)
- **input_data** (`Optional[roboto.domain.actions.InvocationInput]`)
- **target_directory** (`pathlib.Path`)
- **download_directory** (`pathlib.Path`)
- **inputs_data_manifest_file** (`pathlib.Path`)
- **roboto_client** (`roboto.http.RobotoClient`)
- **roboto_search** (`roboto.roboto_search.RobotoSearch`)

### prepare_invocation_parameters()

```python
def roboto.action_runtime.prepare.prepare_invocation_parameters(
    action_parameters: collections.abc.Iterable[roboto.domain.actions.ActionParameter],
    provided_parameter_values: collections.abc.Mapping[str, Any],
    parameters_values_file: pathlib.Path,
    secrets_file: pathlib.Path,
    org_id: Optional[str],
    roboto_client: roboto.http.RobotoClient,
)
```

`from roboto.action_runtime import prepare_invocation_parameters`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/prepare.py#L66-L107)

**Parameters**

- **action_parameters** (`collections.abc.Iterable[roboto.domain.actions.ActionParameter]`)
- **provided_parameter_values** (`collections.abc.Mapping[str, Any]`)
- **parameters_values_file** (`pathlib.Path`)
- **secrets_file** (`pathlib.Path`)
- **org_id** (`Optional[str]`)
- **roboto_client** (`roboto.http.RobotoClient`)

### prepare_metadata_changeset_manifest()

```python
def roboto.action_runtime.prepare.prepare_metadata_changeset_manifest(
    dataset_metadata_changeset_path: pathlib.Path,
)
```

`from roboto.action_runtime import prepare_metadata_changeset_manifest`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/prepare.py#L185-L192)

**Parameters**

- **dataset_metadata_changeset_path** (`pathlib.Path`)
