Manage Nodes
manage_nodesManage graph nodes to track persistent workflow state: create, get, update, remove, list, search, batch operations, and add observation notes for tasks, decisions, and blockers.
Instructions
Manage graph nodes in the state graph. Supported actions: create (add single node), update (modify node properties), get (fetch node with edges), remove (delete node and cascade edges), list (filter nodes), search (FTS5 or TF-IDF search), batch_create (create multiple nodes atomically), batch_update (update multiple nodes atomically), add_note (log observation node with optional context link).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Unique node identifier for get, update, or remove. | |
| ids | No | Array of node IDs for batch_update. | |
| tags | No | Array of searchable tags. | |
| text | No | Text note content for add_note. | |
| type | No | The type classification of the node. | |
| limit | No | Maximum number of items to return (1-1000). | |
| nodes | No | Array of node payloads for batch_create. | |
| query | No | Search term for full-text search. | |
| title | No | Title or label of the node. | |
| action | No | The node management action to execute. | |
| offset | No | Number of items to skip for pagination. | |
| status | No | Status of the node (e.g. pending, in_progress, done, blocked, active, accepted, current). | |
| compact | No | Whether to return a lightweight compact summary. | |
| project | No | Target project name or slug. | |
| metadata | No | Arbitrary structured key-value metadata. | |
| algorithm | No | Search algorithm for search action. | |
| attach_to | No | Node ID to attach observation note to via references edge. | |
| git_branch | No | Git branch filter. | |
| session_id | No | Active session identifier for change attribution. | |
| include_edges | No | Whether to include inbound/outbound edges on get. | |
| expected_version | No | Optimistic concurrency version check for update. |