Update a character note (DM or player)
play_update_character_noteUpdate the DM-side or player-side note attached to a play character. PUT semantics — description replaces the current body. Authorization runs through the character's campaign 'contribute' permission. Triggers a notification (to the character owner if a GM updated, to GMs if a player updated). REQUIRES baseUpdatedAt: copy updatedAt from a fresh play_get_character_note read of the same note; a stale or fabricated value is rejected with OUT_OF_SYNC and nothing is written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional new name for the note. | |
| characterId | Yes | Mongo `_id` of the play character (NOT the vault character id). | |
| description | Yes | Note body markdown. PUT semantics: replaces the existing body. | |
| documentType | Yes | Which note to update: 'dm-notes' or 'player-notes'. | |
| baseUpdatedAt | Yes | REQUIRED proof that you are working from the latest version: copy the `updatedAt` value verbatim from a FRESH read of this exact record (use the matching get tool first). Values from memory, from an earlier conversation, or guessed timestamps are rejected with OUT_OF_SYNC and nothing is written. After a successful update, the response carries the new `updatedAt` — use that for any follow-up write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||