set_user_quota
Set disk quota limits for a user on a filesystem, controlling file count and disk blocks. Adjust hard/soft limits; set to 0 for unlimited.
Instructions
Set disk quota limits for a user on a filesystem. This is a dangerous operation and is blocked in safe mode. Set limits to 0 for unlimited.
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>",
"filesystem": "<filesystem>"
},
"name": "set_user_quota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| username | Yes | Username to set quota for | |
| filesystem | Yes | Mount point of the filesystem | |
| hard_file_limit | No | Hard limit for file count (0 = unlimited) | |
| soft_file_limit | No | Soft limit for file count (0 = unlimited) | |
| hard_block_limit | No | Hard limit for disk blocks (0 = unlimited) | |
| soft_block_limit | No | Soft limit for disk blocks (0 = unlimited) |