batch_create_documents
Create multiple documents in one batch operation. Use for bulk importing content or setting up document structures.
Instructions
Creates multiple documents in a single batch operation.
This tool processes each creation sequentially, continuing even if individual operations fail. Rate limiting is handled automatically.
Each document dictionary should contain:
title (required): Document title
collection_id (required): Collection ID to create in
text (optional): Markdown content
parent_document_id (optional): Parent document for nesting
publish (optional): Whether to publish immediately (default: True)
Use this tool when you need to:
Create multiple documents at once
Bulk import content into collections
Set up document structures efficiently
Note: For Mermaid diagrams, use mermaidjs (not mermaid)
as the code fence language identifier for proper rendering.
Recommended batch size: 10-50 documents per operation
Args: documents: List of document specifications, each containing title, collection_id, and optional text, parent_document_id, and publish fields
Returns: Summary of batch operation with created document IDs and success/failure details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |