Docs

Built-in tools›Long-term memory

Create project memory

create_project_memory
Group
Long-term memory
Turned on by
The memory switches on the Advanced tools page of Conversation settings.
Approval
Not reviewed: runs without asking, within the limits on this page.
Profile key
tool.create_project_memory.description

Saves a new document to the project memory and adds its one-line description to the memory index.

The model uses it for facts that hold only in one workspace. The document goes to .mework/memory/ in that workspace's folder, and its description becomes a line in that folder's MEMORY.md, which is in context on every run while Enable project memory is on. Writing project memory never asks. See Memory and instructions.

Limits

  • A write that would grow MEMORY.md past 64 KiB fails.

Good to know

  • Mework maintains MEMORY.md: each write rebuilds it from its index lines and drops anything else. Put standing instructions in the workspace's .mework/MEWORK.md instead.
  • To make the model forget something, delete its file in .mework/memory/. From the next run the model no longer sees it in the index.
  • In a conversation with more than one workspace, the tool takes an optional workspace number saying whose memory to write to (default 1). With one workspace it has no such parameter.

Parameters

ParameterTypeDetails
content required
File content
stringThe document's complete Markdown body, up to 256 KiB of UTF-8.
description required
Description
stringOne-sentence index entry written into MEMORY.md.
name required
Name
stringNew document name inside the memory directory; no path separators, the .md suffix is optional.

Edit this page on GitHub