unregister • AI Agent SDK
unregister: Remove a tool from the registry.
unregister
Method
</div>
This is a method of the ToolRegistry class in the registry module.
Remove a tool from the registry.
Thread-safe: Uses lock for concurrent access.
Signature
def unregister(name: str) -> boolParameters
ParamField
strTool name to remove
Returns
ResponseField
boolTrue if tool was removed, False if not found
Used By
Source
View on GitHubpraisonaiagents/tools/registry.py at line 195