read_files_batch
Read multiple files in one request and return relative paths mapped to contents or structured errors, optionally as Markdown or raw text.
Instructions
Inspect multiple files concurrently in a single roundtrip. Returns a mapping of relative paths to contents or structured error objects. Supports Markdown conversion (as_markdown=True) or raw text.
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": {
"rel_paths": "<rel_paths>"
},
"name": "read_files_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel_paths | Yes | ||
| as_markdown | No | ||
| max_bytes_per_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||