update_document
Update a document's content by providing markdown and serialized data, with an optional version note. Fails if the document is no longer editable due to completed approval flow.
Instructions
Update a document's content. serialized has the same object shape as create_document. Fails if the document is no longer editable (approval flow complete). Metadata is NOT updated here. NOT idempotent: if the call times out, the document may still have been created — list_documents before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id (UUID) | |
| raw | Yes | Document body as markdown | |
| naration | No | Optional version note stored with the saved revision | |
| vendor_id | No | Optional vendor id (UUID) | |
| serialized | Yes | Serialized content object |