lb_update_node_tags
Sets the PARA items associated with a node. This is a full replacement operation: all existing PARA tag associations for the node are removed before the new set is applied.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
node_id | string | Yes | The ID of the node to update |
para_item_ids | string[] | Yes | PARA item IDs to associate with this node (max 50) |
Response
Section titled “Response”{ "node_id": "...", "tags_applied": 3}tags_applied is the number of PARA items now associated with the node.
Usage notes
Section titled “Usage notes”- Full replacement: the supplied
para_item_idsarray becomes the complete set of PARA associations for the node. Any previously associated items not in the new array are removed. - To remove all PARA tags from a node, pass an empty array (
[]). - To add a single item without disturbing existing associations, first retrieve the current tags (via
lb_searchorlb_get_contextto find the node), then pass the full merged list. - Archived PARA items cannot be used. If any ID in
para_item_idsrefers to an archived item, the entire operation fails and no changes are made. - The maximum number of PARA items per node is 50.