Read Multiple Files
read_multiple_filesRead contents of multiple files at once to analyze or compare them. Returns each file's content with its path; individual failures do not halt the operation.
Instructions
Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |