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

# autogen.oai.mistral.tool_def_to_mistral

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### tool\_def\_to\_mistral

```python theme={null}
tool_def_to_mistral(tool_definitions: list[dict[str, Any]]) -> list[dict[str, Any]]
```

Converts AG2 tool definition to a mistral tool format

<b>Parameters:</b>

| Name               | Description                             |
| ------------------ | --------------------------------------- |
| `tool_definitions` | **Type:** list\[dict\[str, typing.Any]] |

<br />
