smart_read_many
Reads up to 20 files at once using structural reading to save tokens. Automatically downgrades oversized files to compact outlines.
Instructions
Batch smart_read for multiple files at once — INSTEAD OF calling Read on each file. Returns structure for each file. Max 20 files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Array of file paths | |
| max_tokens | No | Token budget per file. If a file exceeds this, auto-downgrades to compact outline. | |
| session_id | No | Optional Claude Code session_id for cross-restart dedup (see smart_read). | |
| force | No | Bypass dedup (see smart_read.force). |