update_document_content
Replace the body of an existing text/markdown workspace document (use draft_document to create a new one, read_document_content to read). Max 100 KB. Requires project.content.create. Binary documents (PDF, images) cannot be edited this way. Refused with code DOCUMENT_LOCKED_FOR_APPROVAL while a workflow approval is open on the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document id to overwrite. | |
| contentMarkdown | Yes | New UTF-8 markdown/text body. Max 100 KB. Replaces the whole body. |