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.
Signature
def list_available_tools(context: Optional[Dict[str, Any]], ttl_seconds: Optional[float]) -> List[Union[BaseTool, Callable]]Parameters
ParamField
OptionalOptional 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_toolsget_registry
Used By
Source
View on GitHubpraisonaiagents/tools/registry.py at line 684