> ## 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.interop.Interoperable

<h2 id="autogen.interop.Interoperable" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">Interoperable</span>
</h2>

```python theme={null}
Interoperable(*args, **kwargs)
```

A Protocol defining the interoperability interface for tool conversion.<br />This protocol ensures that any class implementing it provides the method
`convert_tool` to convert a given tool into a desired format or type.

<b>Parameters:</b>

| Name       | Description |
| ---------- | ----------- |
| `*args`    |             |
| `**kwargs` |             |

### Static Methods

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

#### convert\_tool

```python theme={null}
convert_tool(tool: Any, **kwargs: Any) -> Tool
```

Converts a given tool to a desired format or type.<br />This method should be implemented by any class adhering to the `Interoperable` protocol.<br />

<b>Parameters:</b>

| Name       | Description                                                                           |
| ---------- | ------------------------------------------------------------------------------------- |
| `tool`     | The tool object to be converted.<br /><br />**Type:** Any                             |
| `**kwargs` | Additional parameters to pass during the conversion process.<br /><br />**Type:** Any |

<b>Returns:</b>

| Type                                           | Description                                             |
| ---------------------------------------------- | ------------------------------------------------------- |
| [Tool](/docs/api-reference/autogen/tools/Tool) | Tool: The converted tool in the desired format or type. |

<br />

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

#### get\_unsupported\_reason

```python theme={null}
get_unsupported_reason() -> str | None
```

Returns the reason for the tool being unsupported.<br />This method should be implemented by any class adhering to the `Interoperable` protocol.<br />Returns: <br />    str: The reason for the interoperability class being unsupported.

<b>Returns:</b>

| Type        | Description                                                       |
| ----------- | ----------------------------------------------------------------- |
| str \| None | str: The reason for the interoperability class being unsupported. |

<br />
