Skip to main content

list_available_tools

Method
This is a method of the ToolRegistry class in the registry module.
List only currently available tools (those that pass availability checks). Uses TTL cache to avoid expensive availability checks on every call.

Signature

Parameters

Optional
Optional context for availability checks (unused currently)
Optional[float]
Cache TTL override (default: 30.0 seconds)

Returns

List[Union[BaseTool, Callable]]
List of available tools (both BaseTool instances and callables)

Uses

  • time.time
  • check_availability
  • logging.debug
  • logging.warning

Used By

Source

View on GitHub

praisonaiagents/tools/registry.py at line 307

Tools Concept

Create Custom Tools

Tool Development