batch_read
Read multiple files under a token budget to seed cache for search and grep. Returns diffs for modified files, full content for new ones, and skips large files when budget exhausted.
Instructions
Read multiple files under a token budget.
Use to seed cache before search/grep; prefer over repeated read
calls. Returns diffs for modified files, full content for new ones;
large files skipped when budget exhausted (use read with
offset/limit to recover).
Args: paths: Comma-separated paths, JSON array, or glob patterns. max_total_tokens: Token budget across the batch. priority: Optional paths to read first before the remaining files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| max_total_tokens | No | ||
| priority | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | ||
| summary | No | ||
| skipped | No | ||
| files | No |