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
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 16s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user