write_multiple_files
Write multiple files of various types (text, PDF, DOCX) concurrently. Auto-detects file type by extension and supports HTML formatting for PDF/DOCX. Failed writes for individual files don't halt the batch.
Instructions
Write multiple files concurrently. Supports text, PDF, and DOCX with HTML formatting. File type auto-detected by extension. Failed writes for individual files won't stop others. Returns detailed results for each file.
PDF/DOCX with HTML: Provide HTML content for rich formatting. Automatically detects HTML and applies formatting. Plain text creates simple documents.
IMPORTANT - Multi-line Content:
Use actual newline characters in content strings, NOT \n escape sequences
Each file's content will be written exactly as provided in the string
Only works within allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of files to write, each with path and content |