"""Tool registry package.

Importing this package loads all tool modules (triggering ``@tool``
decorator registration) and re-exports the public API that the rest
of the app depends on.
"""

# Import every tool module so their @tool decorators run at import time.
# Order does not matter — registration is additive.
from fabledassistant.services.tools import (  # noqa: F401
    article,
    calendar,
    entities,
    journal,
    notes,
    profile,
    projects,
    rag,
    tasks,
    utility,
    weather,
    web,
)
from fabledassistant.services.tools._registry import (
    execute_tool,
    get_tools_for_user,
)

__all__ = [
    "execute_tool",
    "get_tools_for_user",
]
