update_entry
Update an existing timeline entry by ID to change its content or subject, preserving other fields. Optionally remove attachments.
Instructions
Edit an existing timeline entry — typically a note. Provide the entry id plus the fields you want to change (content, subject). Only the fields you supply are modified; other fields keep their current values. Cannot change the entry's type. Use this to correct or extend a note added previously.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entry ID to update | |
| content | No | New body text for the entry. For notes, this is the markdown content; for emails, the body. Provide only if you want to change it. | |
| subject | No | New subject line. Mostly meaningful on email-type entries; on plain notes Capsule accepts the call (HTTP 200) but **does not store the subject and does not advance `updatedAt`** — a true no-op for inapplicable fields. `entryAt` (when the note was authored) is preserved across edits; `updatedAt` advances only when an applicable field actually changes. To sort/filter by 'when did this happen', use `entryAt`; for 'last touched', use `updatedAt`. | |
| removeAttachmentIds | No | Attachment ids to detach from this entry (ids from the entry's attachments array; wire shape {id, _delete: true}, verified live — removal returns the entry with the attachment gone). Other attachments are untouched. Capsule rejects removing the LAST attachment from an entry that has no content. To ADD an attachment to an existing entry, use upload_attachment with entryId. |