"""Legacy tools module. This file re‑exports the tools from :mod:`src.tools` and then removes itself to avoid namespace clashes with the new package layout. """ from src.tools import search_knowledge_base, add_to_knowledge_base # noqa: F401 # Remove the legacy file after import import os try: os.remove(__file__) except Exception: pass __all__ = ["search_knowledge_base", "add_to_knowledge_base"]