Move Organize Node
move_organize_nodeMove an AFFiNE organize folder or link node to another folder or root, keeping the target document, tag, or collection intact and updating only sidebar placement.
Instructions
Experimental: move an AFFiNE organize folder or link node to another folder or root. This preserves the target document, tag, or collection and changes only sidebar placement.
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": {
"nodeId": "<nodeId>"
},
"name": "move_organize_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Optional fractional index. Defaults to append-after-last. | |
| nodeId | Yes | AFFiNE organize node id from list_organize_nodes. | |
| parentId | No | Destination folder id. Omit for root-level placement. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| index | Yes | ||
| parentId | Yes |