Save a memory
save_memoryStore a durable memory such as a decision, gotcha, convention or fix so every connected tool can find it later. Secrets are redacted before storage, and duplicate saves return the existing id.
Instructions
Store one durable memory (a decision, gotcha, convention or fix) that every connected tool can later find. Secrets in the text are redacted before storage. Saving the same project, title and text again is a no-op and returns the existing id. Use work_state_write for a running to-do list and add_rule for a standing instruction. Returns "Saved as #id in project." or "Already saved as #id.".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The memory body, up to 20000 characters. Required. | |
| type | No | Memory type. Default note. | |
| title | No | Short headline, up to 400 characters. Default: the first 100 characters of text. | |
| pinned | No | List the memory under Pinned in session_start_context. Default false. | |
| project | No | Project key to file the memory under. Default: the project of the server's working directory, else "default". |