Add or update nodes
add_nodesAdd or update multiple timeline nodes at once, using id-based upsert to insert or modify existing entries without duplicates.
Instructions
Batch-add/update timeline nodes (idempotent upsert by id). Each:
{id, act (0-based), tag, title, desc, col?, parent?, entity_ids?,
axis1_values?, axis2_values?, filters?: {custom_filter_id: value_id},
sections?: [{h,t}]}.
§0: title/desc/sections are authored VERBATIM from the user's materials —
never fill gaps, never collapse multi-item arcs into one node.
parent (outline mode): the id of the concept that CONTAINS this one; omit
it to make this the hub of its unit. Exactly one node per unit has no
parent, and a parent must sit in the same unit as its child. A child may be
sent before its parent — that only warns until you build.
Column guidance (linear mode): alternate sides; 'center' for pivotal beats;
omit col for the deterministic fallback. In outline mode col is
ignored — the tree decides placement, hubs centred and leaves out to the
sides, and the parent→child lines are generated for you, so author only the
cross-links that carry their own meaning.
Locked until the consent gate is open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| timeline_id | Yes |