Commit 49b185f
Fix note deletion by adding required title field to add-note tool
The add-note tool was missing the title field when creating notes,
causing delete-note and update-note operations to fail since they
identify notes by title.
Changes:
- Added title parameter to add-note tool schema
- Include title field in noteData sent to frontend
- Document that title is used as identifier for updates/deletes
This fixes the issue where notes created via MCP couldn't be
deleted or updated because they had no title property.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 9a8bf2c commit 49b185f
File tree
1 file changed
+2
-0
lines changed- apps/backend/src/mcp/primitives/essential/tools
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments