write_note
Store durable text notes under namespaced keys, with optional compare-and-set or create-only guards to prevent unwanted overwrites; failed conditions return the current value.
Instructions
Write a durable note (<= 8192 characters). Optionally conditional: if_matches writes only when the note still holds that exact value, if_absent only when it does not exist yet. A failed condition reports the value that is actually there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Note key. | |
| value | Yes | Note body, <= 8192 characters. | |
| if_absent | No | Create-only guard. | |
| namespace | Yes | Note namespace. | |
| if_matches | No | Compare-and-set guard. |