kaiten_create_document
Create a Kaiten document using markdown text (auto-converted) or raw ProseMirror JSON, with optional parent group and sort order.
Instructions
Create a new Kaiten document. Use 'text' for markdown content (auto-converted) or 'data' for raw ProseMirror JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Unique key identifier | |
| data | No | Document content as raw ProseMirror JSON. Valid marks: strong, em, underline, strike, code, link. Do NOT use 'bold' or 'italic' — they cause API errors. | |
| text | No | Document content as markdown text. Converted to ProseMirror automatically. Supports: # headings, **bold**, *italic*, ~~strike~~, `code`, > quotes, --- rules. | |
| title | Yes | Document title | |
| sort_order | No | Sort order (auto-generated if not provided) | |
| parent_entity_uid | No | Parent document group UID |