User Set Admin
user_set_adminGrants or revokes administrator privileges for a specified user on an fnOS NAS, controlling account access rights.
Instructions
授予/撤销用户管理员权限(写操作)。
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": {
"user": "<user>",
"on": "<on>"
},
"name": "user_set_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| user | Yes | 用户名 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |