# `CMDC.Tool.ReadFile`
[🔗](https://github.com/tupleyun/cmdc/blob/v0.5.3/lib/cmdc/tool/read_file.ex#L1)

读取文件内容，支持 offset/limit 分页。

- 有 Sandbox 时走 `sandbox.read_file/2`
- 无 Sandbox 时走 `CMDC.Sandbox.Local`
- 输出超过行数或字节阈值时自动截断并附带续读提示

---

*Consult [api-reference.md](api-reference.md) for complete listing*
