"""Memory tool metadata registration.

Registers the ``memory`` tool in the metadata registry for UI display.
The actual toolkit (``mindroom.custom_tools.memory.MemoryTools``) requires
agent context and is instantiated directly in ``create_agent()``, so it
is NOT added to ``TOOL_REGISTRY`` (no generic factory).
"""

from mindroom.tool_system.declarations import (
    SetupType,
    ToolCategory,
    ToolMetadata,
    ToolStatus,
)
from mindroom.tool_system.registration import register_builtin_tool_metadata

register_builtin_tool_metadata(
    ToolMetadata(
        name="memory",
        display_name="Agent Memory",
        description="Explicitly store and search agent memories on demand",
        category=ToolCategory.PRODUCTIVITY,
        status=ToolStatus.AVAILABLE,
        setup_type=SetupType.NONE,
        icon="Brain",
        icon_color="text-violet-500",
        config_fields=[],
        dependencies=[],
        function_names=(
            "add_memory",
            "delete_memory",
            "get_memory",
            "list_memories",
            "search_memories",
            "update_memory",
        ),
    ),
)
