Skip to main content

validate_class

Method
This is a method of the BaseTool class in the base module.
Validate a tool class before instantiation. This can be used to check if a class is a valid tool without creating an instance.

Signature

Returns

bool
True if the class appears to be a valid tool

Source

View on GitHub

praisonaiagents/tools/base.py at line 445