write_note
Create a markdown note with semantic observations and relations.Parameters
The title of the note
Markdown content for the note. Can include observations and relations using markdown syntax:Observations format:Relations format:
Directory path relative to project root. Use forward slashes (/) as separators.
Use ”/” or "" for project root.
Examples: “notes”, “projects/2025”, “research/ml”
Project name to write to. Optional - server resolves using hierarchy.
Cloud workspace name or tenant_id
Tags to categorize the note. Can be a list of strings or comma-separated string.
Type of note to create. Examples: “guide”, “report”, “config”, “person”
Optional extra frontmatter fields. Nested dicts are supported.
If True, replace existing note on conflict. If None, uses config default.
“text” returns markdown summary. “json” returns machine-readable metadata.
Returns
A markdown formatted summary or JSON object with:
- Creation/update status with project name
- File path and checksum
- Observation counts by category
- Relation counts (resolved/unresolved)
- Tags if present
Examples
read_note
Read a markdown note by title or permalink.Parameters
The title, permalink, or memory:// URL of the note to read.
Can be:
- Full memory:// URL:
memory://folder/note - Permalink:
folder/note - Title:
My Note Title
Project name to read from. Optional - server resolves using hierarchy.
Page number for paginated results
Number of items per page
“text” returns markdown content. “json” returns structured object.
When output_format=“json”, whether content should include YAML frontmatter.
Returns
The full markdown content of the note if found, or helpful guidance if not found.JSON format includes:
title- Note titlepermalink- Note permalinkfile_path- File system pathcontent- Markdown contentfrontmatter- Parsed YAML frontmatter (if present)
Examples
edit_note
Edit an existing markdown note using various operations.Parameters
The exact title, permalink, or memory:// URL of the note to edit.
Must be an exact match - fuzzy matching is not supported.
The editing operation to perform:
append- Add content to the end (creates note if doesn’t exist)prepend- Add content to the beginning (creates note if doesn’t exist)find_replace- Replace occurrences of find_text (note must exist)replace_section- Replace content under a markdown header (note must exist)
The content to add or use for replacement
For
replace_section - the markdown header to replace content under (e.g., ”## Notes”)For
find_replace - the text to find and replaceFor
find_replace - expected number of replacements (validation fails if mismatch)Returns
A markdown formatted summary of the edit operation including:
- Operation details
- File path and checksum
- Observations and relations counts
- Whether file was created (for append/prepend)
Examples
delete_note
Delete a note or directory from the knowledge base.Parameters
For files: note title or permalink.
For directories: the directory path (e.g., “docs”, “projects/2025”)
If True, deletes an entire directory and all its contents.
Returns
Trueif note was successfully deletedFalseif note was not found- For directories: formatted summary of deleted files
- JSON format includes deletion metadata
Examples
move_note
Move a note or directory to a new location.Parameters
For files: exact entity identifier (title, permalink, or memory:// URL).
For directories: the directory path
For files: new path relative to project root (e.g., “work/meetings/note.md”)
For directories: new directory path (e.g., “archive/docs”)
Mutually exclusive with destination_folder.
Move the note into this folder, preserving the original filename.
Mutually exclusive with destination_path. Only for single-file moves.
If True, moves an entire directory and all its contents.
Returns
Success message with move details.
For directories: count of files moved and any errors.
Examples
read_content
Read raw file content without knowledge graph processing.Parameters
The path or permalink to the file. Can be:
- Regular file path:
docs/example.md - Memory URL:
memory://docs/example - Permalink:
docs/example
Returns
A dictionary with file content and metadata:For text files:For images:
Examples
view_note
View a note as a formatted artifact for better readability.Parameters
The title or permalink of the note to view
Returns
Instructions for Claude to create a markdown artifact with the note content.
Displays the note in a formatted, readable view in Claude Desktop.