Skip to content

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.

ParameterTypeRequiredDescription
node_idstringYesThe ID of the node to update
para_item_idsstring[]YesPARA item IDs to associate with this node (max 50)
{
"node_id": "...",
"tags_applied": 3
}

tags_applied is the number of PARA items now associated with the node.

  • Full replacement: the supplied para_item_ids array 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_search or lb_get_context to find the node), then pass the full merged list.
  • Archived PARA items cannot be used. If any ID in para_item_ids refers to an archived item, the entire operation fails and no changes are made.
  • The maximum number of PARA items per node is 50.