edit_session
Apply one atomic, undoable batch of changes to the shared preset. Paths are field-name arrays; nodes and connections use stable element ids instead of numeric indices, e.g. [document,graphs,root,nodes,node-id,params,gain]. Use describe_nodes templates when adding nodes. Supply baseRevision from read_session. Independent concurrent changes merge; conflicting fields return SESSION_CONFLICT. Significant agent batches automatically checkpoint the previous state. Never blindly replace the whole document after a conflict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | agent | |
| label | No | Agent edit | |
| token | Yes | ||
| changes | Yes | ||
| sessionId | Yes | ||
| checkpoint | No | ||
| baseRevision | Yes |