kaiten_update_document
Update a Kaiten document by replacing content via markdown or ProseMirror JSON, and adjust title, parent group, or sort order.
Instructions
Update a Kaiten document. Use 'text' for markdown content (auto-converted) or 'data' for raw ProseMirror JSON. If both provided, 'text' wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Unique key identifier | |
| data | No | Document content as raw ProseMirror JSON. Lists are auto-converted to paragraphs. 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 | No | New document title | |
| sort_order | No | Sort order | |
| document_uid | Yes | Document UID | |
| parent_entity_uid | No | New parent group UID |