read_text
Read XML, Lua, TXT, or CSV files line by line with offset/limit. Returns total_lines for pagination and rejects binary files, enabling read-only Noita data inspection.
Instructions
按行读取一个文本文件(xml / lua / txt / csv 等)。
offset 为 1 起始行号,limit 为最多返回行数; 返回 total_lines 便于继续翻页。二进制文件会被拒绝。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||