ruyi_get_script_source
Retrieve script source code from a specified URL using line range or character offset to pinpoint exact code segments.
Instructions
获取指定 URL 脚本的源码片段。支持行号范围或字符偏移。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 脚本 URL(精确匹配优先,然后子串匹配) | |
| length | No | 返回字符数(配合 offset 使用),默认 1000 | |
| offset | No | 字符偏移(0-based,用于单行压缩文件) | |
| endLine | No | 结束行号(1-based) | |
| pageIdx | No | ||
| startLine | No | 起始行号(1-based) |