Add Organize Link
add_organize_linkCreates a new link to a document, tag, or collection within an AFFiNE organize folder. Use for adding new links; for existing links, use move_organize_node instead.
Instructions
Experimental: add a doc, tag, or collection link under an AFFiNE organize folder. Use move_organize_node for an existing link node instead of creating a duplicate link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of target represented by the organize link. | |
| index | No | Optional fractional index. Defaults to append-after-last. | |
| folderId | Yes | AFFiNE organize folder node id. | |
| targetId | Yes | Target doc/tag/collection id | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |