update_document
Destructive
Update an existing document. You can update the title, content, folder, or labels. Supplied fields replace existing values, including the full content and label/tag arrays. Omitted fields remain unchanged. Cannot rewrite text inside uploaded PDFs or overwrite them with edited text. Explain this limitation directly without asking which PDF or what replacement text to use; offer to find or link the PDF. Document/note updates only edit Razuna HTML/Markdown knowledge objects; metadata updates and image transformations do not edit PDF contents.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New document title (optional) | |
| labels | No | Replace labels with this array (optional) | |
| content | No | New document content in HTML/Markdown (optional) | |
| folder_id | No | Move document to this folder (optional) | |
| document_id | Yes | The document ID to update | |
| document_tags | No | Replace document tags with this array (optional) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |