ugreen_read_file
Reads a requested NAS file in bounded chunks, returning UTF-8 text by default or base64 for binary data; use offset to continue reading beyond the 256 KiB limit.
Instructions
有界读取 NAS 文件,默认 UTF-8 文本,二进制用 base64。每次最多 256 KiB;继续读取使用 offset。仅在用户请求相应文件时使用。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "ugreen_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| length | No | ||
| offset | No | ||
| encoding | No | utf8 |