You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at write_note, I can see it's a complete content replacement tool. An edit_note() tool would be really valuable for incremental changes. Here's my thinking:
2
+
3
+
Use Cases for edit_note():
4
+
5
+
- Append new sections to existing notes (most common)
6
+
- Update specific information without rewriting everything
7
+
- Add observations/relations to existing content
8
+
- Fix typos or update facts
9
+
- Prepend updates like meeting notes with timestamps
10
+
11
+
Proposed Design:
12
+
13
+
@mcp.tool()
14
+
async def edit_note(
15
+
identifier: str, # title, permalink, or memory:// URL
1. Use read_note() internally to get current content
36
+
2. Apply the specified operation
37
+
3. Use existing PUT /knowledge/entities/{permalink} endpoint
38
+
4. Return similar summary as write_note()
39
+
40
+
This would be perfect for AI assistants making targeted updates without having to regenerate entire documents. The append operation alone would handle 80% of use cases.
41
+
42
+
Want me to implement this? I'd start with just append and prepend for v0.13.0 to keep it simple.
0 commit comments