update_note
Need to change a note's title or content? Overwrite the existing title and/or body, preserving fields you omit, and get the updated note.
Instructions
Overwrite the title and/or content of an existing note and return the updated note.
This REPLACES whatever you pass; it does not merge. Omit a field (or pass null) to leave it alone. To add to a note's body without losing the current text, call get_note first and pass the full combined text as content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Replacement title, or null to keep the current one. | |
| content | No | Replacement body — overwrites, does not append. Null keeps the current body. | |
| note_id | Yes | Id of the note to change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable identifier for the note. | |
| title | Yes | Short human-readable title. | |
| content | Yes | Full note body. | |
| created_at | Yes | When the note was created (UTC, ISO 8601). | |
| updated_at | Yes | When the note was last modified (UTC, ISO 8601); equals `created_at` for a note that has never been updated. |