merge_areas
Merges two top-level wiki areas by moving all notes from a source folder into a target folder and deleting the emptied source. Requires confirm=true to run, since the source folder and its description are removed.
Instructions
Move every note of one top-level folder into another, then delete the emptied folder.
Call it only when the user asked to merge two areas; for one note, use move_note. Destructive: the source folder and its description are deleted, its notes are kept in the target. Without confirm=true it refuses and changes nothing. Returns the target folder and its description.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"target": "<target>"
},
"name": "merge_areas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The top-level folder to empty and delete, e.g. /legal | |
| target | Yes | The top-level folder that takes its notes, e.g. /contracts | |
| confirm | No | true when the user asked for it: the first folder is deleted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||