List Available Tools • AI Agent SDK

list_available_tools: List only currently available tools from the global registry.

list_available_tools

Function

</div>

This function is defined in the registry module.

List only currently available tools from the global registry.

Diagram

uses

returns

Agent

Tool: list_available_tools

Result

Signature

python
def list_available_tools(context: Optional[Dict[str, Any]], ttl_seconds: Optional[float]) -> List[Union[BaseTool, Callable]]

Parameters

ParamField Optional

Optional context for availability checks

ParamField Optional[float]

Cache TTL override (default: 30.0 seconds)

Returns

ResponseField List[Union[BaseTool, Callable]]

List of available tools

Uses

  • list_available_tools
  • get_registry

Used By

Source

View on GitHub

praisonaiagents/tools/registry.py at line 684


Related Documentation