Subnet calculator
subnet_calculatorWorks out the network, broadcast, host range, netmask and wildcard for an IPv4 or IPv6 address with a prefix, and can split an IPv4 network into equal smaller subnets.
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": {
"address": "<address>"
},
"name": "subnet_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | IPv4 only: prefix length (24 or /24) or dotted mask, when the address has none. | |
| split | No | IPv4 only: split the network into at least this many equal subnets (rounded up to a power of two; the first 256 are listed). | |
| address | Yes | IPv4 or IPv6 address with a prefix or mask, such as 192.168.1.10/24, 192.168.1.10 255.255.255.0 or 2001:db8::/48. |