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

python
def unregister(name: str) -> bool

Parameters

ParamField str

Tool name to remove

Returns

ResponseField bool

True if tool was removed, False if not found

Used By

Source

View on GitHub

praisonaiagents/tools/registry.py at line 195