interop
autogen.interop.CrewAIInteroperability
CrewAIInteroperability
A class implementing the Interoperable
protocol for converting CrewAI tools
to a general Tool
format.
This class takes a CrewAITool
and converts it into a standard Tool
object.
Static Methods
convert_tool
Converts a given CrewAI tool into a general Tool
format.
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.
Name | Description |
---|---|
tool | The tool to convert, expected to be an instance of CrewAITool .Type: Any |
**kwargs | Additional arguments, which are not supported by this method. Type: Any |
Type | Description |
---|---|
autogen.tools.tool.Tool | Tool: A standardized Tool object converted from the CrewAI tool. |