Add Subnet to Network
hetzner_add_subnetAdd a subnet to an existing Hetzner Cloud network by defining its type, IP range, and network zone; supports cloud and vSwitch subnets.
Instructions
Add a subnet to an existing network.
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>",
"type": "<type>",
"network_zone": "<network_zone>"
},
"name": "hetzner_add_subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| type | Yes | Subnet type: cloud or vswitch; server is a deprecated alias normalized to cloud (upstream removal 2027-04-15) | |
| ip_range | No | IP range of the subnet | |
| vswitch_id | No | ID of the vSwitch (required for vswitch type) | |
| network_zone | Yes | Name of the network zone, e.g. "eu-central" |