ugreen_execute
Runs official UGREEN NAS CLI commands to manage files, apps, Docker containers, users, downloads, storage, and system tasks. Query help first, use dry_run for risky writes, then execute.
Instructions
执行官方 unc 的完整 NAS 业务命令,权限由现有令牌和 NAS 固件决定。command 选择叶命令路径,arguments 是独立参数数组,不要包含 unc、命令路径或 shell 语法。先查询帮助和目标对象,再按用户授权操作;删除、覆盖、服务变更等先 dry_run 预演。需要确认门禁时显式传 --yes,已有授权无需重复询问。dry_run 默认 false;预演可能联网,成功不保证真实执行成功。流式请求最多 1800 秒;写操作超时或失败后先查状态,不自动重试。stdin 为 UTF-8 内容,创建用户仅用 --password-stdin 与 stdin 传密码。认证覆盖、输出重定向、调试和 CLI 本机管理命令不可用。
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": {
"command": "<command>"
},
"name": "ugreen_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| command | Yes | ||
| dry_run | No | ||
| arguments | No |