Add Admin Account
add_admin_accountCreate a new admin or read-only account on an iKuai router, with optional IP restriction and permission group.
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": {
"username": "<username>",
"password": "<password>"
},
"name": "add_admin_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | 密码 | |
| username | Yes | 用户名 | |
| allowed_ip | No | 允许访问IP,如 "0.0.0.0/0"(不限制) | 0.0.0.0/0 |
| permission | No | 权限组 "admin"(超级管理员) 或 "readonly"(只读) | admin |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||