MoveMemory

Purpose

Move or rename memory FILES within the Maenifold system, updating URIs and maintaining file integrity with automatic timestamp tracking.

When to Use This Tool

Key Features

Parameters

ParameterTypeRequiredDescriptionExample
sourcestringYesSource FILE identifier (memory:// URI or file title)“memory://learning-notes” or “Learning Notes”
destinationstringYesDestination FILE name or path”deep-learning-notes” or “ai/machine-learning/deep-learning.md”

Usage Examples

Basic File Renaming

{"source": "old-filename", "destination": "new-filename"}

Renames “old-filename.md” to “new-filename.md” in the same directory while preserving all metadata and updating the modified timestamp.

Moving to New Directory Structure

{"source": "memory://scattered-notes", "destination": "research/ai/neural-networks"}

Moves the file from its current location to the “research/ai/” folder with filename “neural-networks.md”, creating the directory structure if needed.

Folder Reorganization

{"source": "temp-notes", "destination": "projects/2025/maenifold-research"}

Relocates a temporary file into a proper project structure, demonstrating how to organize files by time period and project scope.

Cross-Directory File Movement

{"source": "memory://general/random-thoughts", "destination": "philosophy/consciousness/maenifold-theory"}

Moves a file from a general folder into a specialized philosophical topic structure, showing deep categorization.

Common Patterns

Pattern 1: Simple Renaming for Clarity

Use when file titles need updating to reflect evolved understanding:

Pattern 2: Thematic Reorganization

Organize files into subject-based hierarchies as knowledge accumulates:

Pattern 3: Temporal Organization

Structure files by time periods for project-based workflows:

Pattern 4: Research Pipeline Movement

Move files through research stages as understanding deepens:

Troubleshooting

Error: “Source memory file not found: [identifier]”

Solution: Verify the source identifier is correct. If using a title, ensure exact match including capitalization. Use SearchMemories to find the correct title or URI.

Error: File already exists at destination

Solution: MoveMemory will overwrite destination files. Use ReadMemory to check destination first, or choose a different destination path.

Issue: Complex path separators causing confusion

Solution: Use forward slashes consistently in destination paths. MoveMemory automatically converts to system-appropriate separators.

Issue: Lost track of file location after move

Solution: The move operation returns both source and destination URIs. Use SearchMemories with content snippets to relocate files if URIs are lost.

Issue: Broken [[concept]] relationships after reorganization

Solution: Use BuildContext on affected concepts to identify files that reference moved content. Update references using EditMemory with find_replace operations.

Issue: Directory structure becomes too deep

Solution: Plan folder hierarchies with 2-4 levels maximum. Prefer broader categories over deep nesting for better navigation and [[concept]] discovery.

Advanced Usage Patterns

Batch Organization Strategy

  1. Use SearchMemories to identify files needing organization
  2. Plan destination structure based on [[concept]] relationships
  3. Execute moves from least to most specific (general → detailed categories)
  4. Use BuildContext to verify [[concept]] relationships remain intact
  5. Update cross-references using EditMemory if needed

Knowledge Base Restructuring

  1. Map current organization with ListMemories across folders
  2. Identify natural [[concept]] clusters through SearchMemories
  3. Design new hierarchy based on actual usage patterns
  4. Move files in dependency order (referenced files first)
  5. Validate with SearchMemories that findability is improved

URI Management Best Practices

Integration with Knowledge Graph

This tool is essential for maintaining an organized, navigable knowledge base that supports effective [[concept]] discovery and relationship building within the Maenifold architecture.