Memory, write

Save memory lines

Save the lines a proposal offered, all of them or the ones named. A merge's lines replace the rows it was built from; every other door adds them. Show the person the lines before calling this.

write

MCP

Tool namesave_memory_lines
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_memory_lines",
    "arguments": {
      "project_id": "<uuid>",
      "proposal_id": "<string>"
    }
  }
}

Input

project_idrequireduuid
proposal_idrequiredstring

The proposal_id the proposing tool returned. A proposal goes stale after a day.

keep_indexesarray of integer

Which lines to keep, by their position in the proposal. Omit both lists to keep all.

keep_bodiesarray of string

Which lines to keep, by their exact body text.

Returns

How many lines were written and how many rows they replaced.