User Add
user_addCreate a new user account on an fnOS NAS, specifying username, password, email, and groups. Provision access for new users.
Instructions
创建 NAS 用户(写操作)。
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>"
},
"name": "user_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| user | Yes | 新用户名 | |
| No | 邮箱 | ||
| groups | No | 所属用户组列表 | |
| mobile | No | 手机号 | |
| scheme | No | 传输协议 | |
| comment | No | 备注 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| password | No | 初始密码 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |