Export memos
export_memosBack up Memos notes to a local folder as Markdown files or a ZIP archive. Filter by tags, dates, or content for offline use or re-import.
Instructions
Back up memos to a local folder. format=markdown writes one .md file per memo (YAML front matter with id, times, tags, visibility; attachments downloaded next to it) and accepts the same filters as search_memos — handy for Obsidian or offline analysis. format=zip saves the official Memos export archive of ALL your memos (filters ignored), which Memos can import again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive upper time bound, same formats as `from` ("2026-09-30" includes that whole day) | |
| has | No | Content properties that must be present: task_list, incomplete_tasks, link, code, location | |
| from | No | Inclusive lower time bound: "2026-09-01", "2026-09", "today", "this week", "last month", "7d", "24h", or an ISO timestamp | |
| tags | No | Tags without "#". A parent tag also matches its children ("work" matches #work/project). | |
| view | No | Title or id of a saved Memos view; its filter is applied too (see get_overview) | |
| query | No | Keywords that must all appear in the content (case-insensitive). Wrap phrases in double quotes. | |
| space | No | Space title or id; "none" for memos outside any space. Omit for all. | |
| filter | No | Advanced: raw Memos CEL filter ANDed with the rest. Fields: content, creator, created_ts, updated_ts, pinned, visibility, space, tags, has_task_list, has_link, has_code, has_incomplete_tasks, has_location. Example: `content.matches("^TODO") || size(tags) == 0` | |
| format | No | markdown | |
| pinned | No | Only pinned (true) or unpinned (false) memos | |
| tag_mode | No | Require all listed tags (default) or any of them | all |
| output_dir | Yes | Local folder; a timestamped sub-folder or file is created inside it | |
| time_field | No | Whether from/to apply to the creation or last-update time | created |
| visibility | No | ||
| include_archived | No | ||
| include_attachments | No |