Has Tool • AI Agent SDK
has_tool: Check if a tool is registered in the global registry.
has_tool
Function
</div>
This function is defined in the registry module.
Check if a tool is registered in the global registry.
Signature
def has_tool(name: str) -> boolParameters
ParamField
strName of the tool to check
Returns
ResponseField
boolTrue if tool exists, False otherwise
Uses
get_registry
Source
View on GitHubpraisonaiagents/tools/registry.py at line 651