remote_read
Read remote files by line range, returning line-numbered content for precise edits. Supports start/end lines and max byte limits.
Instructions
读取远端文件。支持按行区间读取,返回带行号以便后续精确修改。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件路径,相对路径基于 SSH_REMOTE_BASE,也支持 ~ 和绝对路径 | |
| endLine | No | 结束行号(含),不填则到尾 | |
| maxBytes | No | 最大读取字节数,默认 512KB | |
| startLine | No | 起始行号(1 起),不填则从头 |