feat(mcp): update server with hierarchy support, batch operations, and tree view
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 16s

This commit is contained in:
Antigravity
2026-05-10 19:12:55 +00:00
parent 210b01c385
commit a139f92686
4 changed files with 140 additions and 1 deletions

View File

@@ -409,6 +409,29 @@ All examples assume an MCP Client node configured with Streamable HTTP and `x-ap
}
```
### Create a sub-notebook (hierarchical)
```json
{
"tool": "create_notebook",
"arguments": {
"name": "Project Alpha",
"icon": "🚀",
"color": "#10B981",
"parentId": "{{ $json.parentNotebookId }}"
}
}
```
### Get notebook hierarchy (tree view)
```json
{
"tool": "get_notebook_hierarchy",
"arguments": {}
}
```
### Delete a notebook (notes go to Inbox)
```json
@@ -422,6 +445,33 @@ All examples assume an MCP Client node configured with Streamable HTTP and `x-ap
---
## Batch Operations
### Batch move notes to a notebook
```json
{
"tool": "batch_move_notes",
"arguments": {
"ids": ["{{ $json.noteId1 }}", "{{ $json.noteId2 }}", "{{ $json.noteId3 }}"],
"notebookId": "{{ $json.targetNotebookId }}"
}
}
```
### Batch delete notes
```json
{
"tool": "batch_delete_notes",
"arguments": {
"ids": ["{{ $json.noteId1 }}", "{{ $json.noteId2 }}"]
}
}
```
---
## Labels
### Create a label inside a notebook