Update event documentation
update_eventUpdate an event's purpose, note, participants, or ledger category. Empty string removes a field; omitted fields stay unchanged.
Instructions
Update purpose, note, participants and/or ledger category on an event. Omitted fields are unchanged; an empty string removes the value (ledger category cannot be removed, only overwritten). The event's 'complete' flag is re-evaluated against the ledger category's requirements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Event id | |
| purpose | No | Purpose of the transaction, e.g. "Team lunch". Empty string removes. | |
| note | No | Free-form note. Empty string removes. | |
| participants | No | Who participated, e.g. "Ola Nordmann, Kari Nordmann". Empty string removes. | |
| ledgerCategoryId | No | Ledger category id (see get_ledger_category) |