Skip to main content

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.
Parameters: Returns:

get_unsupported_reason