read_files
Read multiple files in a single call with automatic encoding detection. Returns content, MIME type, and encoding info per file.
Instructions
Read multiple files in a single call.
Args: file_paths: List of absolute file paths. encoding: "auto"/None for auto-detection, or specify: utf-8, gbk, gb2312.
Returns: list of dicts, each with keys: - path: File path - content: File content as string - mimeType: MIME type of the file - isImage: Boolean indicating if file is an image - encoding: Detected encoding (e.g., "utf_8", "gbk", "gb2312") - encodingConfidence: Confidence score for encoding detection (float or None) - error: Error message (only present if read failed)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes | ||
| encoding | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |