subnet_calculator
Calculate subnets from a 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": {
"network": "<network>",
"new_prefix": "<new_prefix>"
},
"name": "subnet_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | Network in CIDR notation | |
| new_prefix | Yes | New prefix length for subnets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| subnets | No | ||
| truncated | No | ||
| new_prefix | No | ||
| total_subnets | No | ||
| original_prefix | No | ||
| hosts_per_subnet | No | ||
| original_network | No |