Read Multiple Files
fc_read_multiple_filesRead multiple files at once and return their contents with separators, supporting an optional maximum lines per file to control output size.
Instructions
Reads multiple files at once and returns their contents.
Args:
paths (array): Array of file paths
max_lines_per_file (number, optional): Max lines per file (0 = all)
Returns:
Contents of all files with separators
Example: paths: ["C:\config.json", "C:\readme.md"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Array of file paths | |
| max_lines_per_file | No | Max lines per file |