Move Organize Node
move_organize_nodeMoves an AFFiNE organize folder or link node to another folder or to root level, changing only sidebar placement while preserving the underlying document, tag, or collection.
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 | No | ||
| ok | No | ||
| code | No | ||
| error | No | ||
| index | No | ||
| details | No | ||
| parentId | No | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |