Memory, write

Merge memories

Fold the duplicates in a project's memory into fewer lines that say the same things, never across a kind. The longest call in this group, up to 90 seconds; do not retry it on your own. Nothing is saved yet. One AI action.

writespends

MCP

Tool namemerge_memories
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "merge_memories",
    "arguments": {
      "project_id": "<uuid>"
    }
  }
}

Input

project_idrequireduuid
series_iduuid

Merge one series' own learned lines instead of the project's.

Returns

The proposed lines, the ids they would replace, and the proposal_id to save them under. The proposed lines are not saved until save_memory_lines takes them.