> ## 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.CrewAIInteroperability

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

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

```python theme={null}
CrewAIInteroperability()
```

A class implementing the `Interoperable` protocol for converting CrewAI tools
to a general `Tool` format.<br />This class takes a `CrewAITool` and converts it into a standard `Tool` object.

### Static Methods

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

#### convert\_tool

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

Converts a given CrewAI tool into a general `Tool` format.<br />This method ensures that the provided tool is a valid `CrewAITool`, sanitizes
the tool's name, processes its description, and prepares a function to interact
with the tool's arguments. It then returns a standardized `Tool` object.<br />

<b>Parameters:</b>

| Name       | Description                                                                               |
| ---------- | ----------------------------------------------------------------------------------------- |
| `cls`      |                                                                                           |
| `tool`     | The tool to convert, expected to be an instance of `CrewAITool`.<br /><br />**Type:** Any |
| `**kwargs` | Additional arguments, which are not supported by this method.<br /><br />**Type:** Any    |

<b>Returns:</b>

| Type                                           | Description                                                        |
| ---------------------------------------------- | ------------------------------------------------------------------ |
| [Tool](/docs/api-reference/autogen/tools/Tool) | Tool: A standardized `Tool` object converted from the CrewAI tool. |

<br />

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

#### get\_unsupported\_reason

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

<br />
