update_cell
Replace a cell's source or rename it, clearing outputs and marking dependents stale. Optionally execute all stale cells immediately to complete the edit-run loop in one call.
Instructions
Replace a cell's source and/or rename it. expected_rev must be the
rev from your latest read of this cell (optimistic locking). Updating
source clears the cell's outputs and marks it (and dependents) stale.
run="stale" immediately executes every stale cell (the edit→run loop in
one call) and returns the execution results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | none | |
| name | Yes | ||
| path | Yes | ||
| source | No | ||
| new_name | No | ||
| expected_rev | Yes |