# tool_versions

Python API: `modelconverter.utils.tool_versions`

Default conversion tool versions of the supported platforms.

Each platform is converted by a vendor toolchain that ships in its own Docker image, and several versions of it may be available.
This module holds the version used when the user does not pass `--tool-version`.

## Functions

| Name | Description |
| --- | --- |
| [`get_default_tool_version`](https://docs.luxonis.com/software-v3/ai-inference/conversion/rvc-conversion/offline/modelconverter/modelconverter-api-reference/utils/tool_versions.md#tool_versions-Functions-get_default_tool_version) | Return the default conversion tool version for a platform. |

### function `get_default_tool_version`

```python
def get_default_tool_version(platform: Literal['rvc2', 'rvc3', 'rvc4', 'hailo']) -> str
```

Return the default conversion tool version for a platform.

Args

| Name | Type | Description | Default |
| --- | --- | --- | --- |
| `platform` | `Literal['rvc2', 'rvc3', 'rvc4', 'hailo']` | Name of the platform. | required |

Returns

| Type | Description |
| --- | --- |
| `str` | Version string of the toolchain used for `platform` by default. |
