read_file
Reads text file content within a locked root directory, supporting offset/limit pagination while capping size and detecting binary files to avoid sandbox escapes.
Instructions
读取文本文件内容(上限 1MB / 2000 行,自动识别二进制)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |