Skip to main content

get

Method
This is a method of the ToolRegistry class in the registry module.
Get a tool by name. Thread-safe: Uses lock for concurrent access.

Signature

Parameters

str
required
Tool name

Returns

Optional[Union[BaseTool, Callable]]
BaseTool instance, callable, or None if not found

Uses

  • discover_plugins

Source

View on GitHub

praisonaiagents/tools/registry.py at line 209