create_storage_box_subaccount
Create a restricted storage box subaccount with a separate login limited to a chosen home directory and shared quota, then poll the action until completion.
Instructions
Create a subaccount: a separate login restricted to home_directory inside the box (shares the box's quota). Username is assigned by Hetzner (-subN). Returns {subaccount: {id, storage_box}, action}; Returns an Action; poll get_storage_box_action until status is success, then get_storage_box_subaccount for details
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": {
"id": "<id>",
"home_directory": "<home_directory>",
"password": "<password>"
},
"name": "create_storage_box_subaccount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Storage Box ID | |
| name | No | Defaults to the generated username | |
| labels | No | ||
| password | Yes | Password policy: 12-128 chars from a-z A-Z ÄÖÜäöüß 0-9 ^°!§$%/()=?+#-.,;:~*@{}_& with at least one upper case letter, lower case letter, digit and special character; must not appear in known data breaches. Generate a strong random one; never echo it back to the user unless they asked for it | |
| description | No | ||
| home_directory | Yes | Home directory relative to the main account root, e.g. "backups/app1". Created if missing | |
| access_settings | No |