get_user_info
Retrieve system user accounts and group memberships from /etc/passwd and /etc/group, with optional case-insensitive username filtering for account inventory checks.
Instructions
Lists system users from /etc/passwd and /etc/group: username, UID, GID, home, shell, and supplementary groups. search does a case-insensitive substring match. Read-only; a passwd read failure is non-fatal. Use for account inventory and membership checks.
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": "get_user_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | optional username filter (case-insensitive substring match) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | Yes | ||
| errors | No |