Edit Rapier
editDestructive
Apply unique exact-text changes atomically as one undoable act (act is its id string), rename with filename, or set Note fields with note. At a moved numeric revision, literal edits apply if untouched since; whole-document replacement needs the current revision. A conflict returns current context; decide afresh. Drawings, painting, Water, comments and HTML objects use fenced text; painting needs an open editor and an operation_id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| agent | No | Your display name on acts; never grants authority. | |
| label | No | Short description of this edit in history. | |
| fields | No | Note fields, with note and without changes. | |
| changes | No | ||
| turn_id | No | Groups acts for undo {turn_id}. | |
| document | Yes | ||
| filename | No | ||
| revision | Yes | From your latest read or open; a Note's is its sha256. | |
| operation_id | No |