delete_user
Remove a system user account, including optional deletion of home directory. Blocked in safe mode to prevent accidental removal of critical users.
Instructions
Delete a system user. This is a dangerous operation and is blocked in safe mode. Critical system users cannot be deleted.
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>"
},
"name": "delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| username | Yes | Username of the user to delete | |
| delete_home | No | Whether to delete the user's home directory |