Subnet calculator for an IPv4/IPv6 CIDR block
cidr_infoSubnet calculator for an IPv4/IPv6 CIDR block. Network and broadcast addresses, first/last usable host, netmask and wildcard, number of addresses and usable hosts, address class and scope. Notes when the input had host bits set. Price: $0.003 USDC per call via x402 (eip155:8453).
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": {
"cidr": "<cidr>"
},
"name": "cidr_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | e.g. 10.0.0.0/22 or 2001:db8::/48 |