write_note
Write a durable note (max 8192 chars) with conditional guards: only save if it matches a value or is absent, otherwise report 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 | ||
| value | Yes | ||
| if_absent | No | Create-only guard. | |
| namespace | Yes | ||
| if_matches | No | Compare-and-set guard. |