List users or groups
nas_usersList NAS user accounts or user-created groups, with optional filters by role, user ID, exact name, or keyword, and inspect account expiry details. Use it to review access and group membership.
Instructions
kind "users" (default) lists NAS accounts (data.users[]): uid is a number, role is in user_base.role, group membership in user_base.groups[], and an expired account has user_base.is_expired true (there is no server-side filter for expiry, so list all and check the field). names matches exactly and is case sensitive. kind "groups" lists user-created groups with their members (data.groups[]); gid there is a string. The built-in groups admin, users and ughomeusers are not listed and cannot take new members. Passwords are never returned. Users cannot be modified or deleted and groups cannot be created through this server; that is done in the NAS control panel.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nas_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | List accounts or user-created groups. | users |
| role | No | "users" only: filter by role. | |
| uids | No | "users" only: user IDs. | |
| names | No | "users" only: exact user names. | |
| keyword | No | "users" only: text in the user name or description. |