create_document
Create a new document/note in Razuna. Documents are rich text (HTML/Markdown) knowledge objects stored alongside media files. They are indexed for search and AI retrieval. Use this to store meeting notes, research, project documentation, or any knowledge content. You can specify the workspace by ID or by name — if you provide a name, the tool will automatically resolve it to the correct workspace ID. 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
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title | |
| labels | No | Optional array of label/tag IDs to attach | |
| content | Yes | Document content in HTML or Markdown format | |
| folder_id | No | Optional folder ID. If not provided, document is created at workspace level. | |
| workspace_id | No | Workspace ID. Optional if a default workspace is configured on the MCP connection. | |
| document_tags | No | Optional array of free-form tags for categorization and search filtering (e.g., ["project-x", "architecture", "meeting-notes"]) | |
| document_type | No | Type of document. Defaults to "markdown". | |
| workspace_name | No | Workspace name — resolved to an ID automatically. Optional if a default workspace is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |