Skip to content

storage_tools

diapason.tools.storage_tools

Storage MCP tools — expose MemoryBackend operations as BaseTool instances.

These tools wrap the MemoryBackend ABC so that memory operations (store, retrieve, search, index) are discoverable and callable via MCP.

MemoryIndexTool

Bases: BaseTool

MCP-exposed tool: index a file or directory into memory.

MemoryRetrieveTool

Bases: BaseTool

MCP-exposed tool: retrieve from memory backend.

MemorySearchTool

Bases: BaseTool

MCP-exposed tool: search memory with agent-friendly formatting.

MemoryStoreTool

Bases: BaseTool

MCP-exposed tool: store content into memory backend.