Write a memory file
memory_writeCreate or replace one UTF-8 text file in private agent memory. Use an optional ETag check to prevent overwriting a file that changed since it was read.
Instructions
Create or replace one file in your memory (UTF-8 text, up to 10 MB). Paths are plain segments of letters, digits, _ . - separated by '/'. journal/ is not writable here: use journal_append.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | e.g. 'projects/keephaven.md' | |
| content | Yes | the whole new content of the file | |
| if_match | No | etag from memory_read; the write fails if the file changed since |