Archive a node (reversible; the node moves to Trash)
node_archiveArchive a node (reversible; the node moves to Trash)
This is the only way to move a node into the archived state, and it is reversible — the node appears in the Trash view and can be restored. Review is permission-aware, decided server-side: it archives immediately when your key has write access on the node and lands as a pending ChangeRequest otherwise. Pass requireReview to always propose instead. Do NOT use node_purge to remove a node: purge is permanent and only accepts a node that has ALREADY been archived by this task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Id of the node to archive. | |
| message | No | Explanation for the human reviewer of why this node should go. | |
| playbook | No | Optional. The playbook you are following, as `kind:nodeId[:key]` from playbooks_search (e.g. `prompt:nod_123:log-visit`). Recorded on the change request so the person can see which playbook produced it. | |
| autoMerge | No | Archive immediately if you have write access. Not a permission override — a changeRequest-level key still gets a pending CR. Default is permission-aware: archive when you can, otherwise propose. | |
| submittedBy | No | Producer label recorded on the change. | |
| requireReview | No | Always propose a pending ChangeRequest instead of archiving, even with write access. | |
| targetSpaceId | No | Busabase space id. Call auth_verify first and ask the user which space to use when more than one is returned. |