Read Many Files
read_many_filesReads multiple text files in a single call and returns per-file errors instead of failing the whole batch.
Instructions
Read several text files in one round-trip. Errors are reported per file, not raised.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paths": "<paths>"
},
"name": "read_many_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Up to 50 file paths to read in one call. | |
| max_chars_each | No | Cut each file after this many characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |