Subnet / CIDR calculator
subnetCalculate IPv4 or IPv6 CIDR subnet details offline, returning network, broadcast, usable host range, netmask/wildcard, and host count. Use for CIDR planning; use ip_convert to convert a single IP between decimal, hex, binary, and IPv6 formats. Cost: 1 unit via middle.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": {
"text": "<text>"
},
"name": "subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A CIDR block or an address and mask. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | No | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | No | Overall diagnostic verdict. | |
| target | No | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | No | Plain-English and technical one-line summaries. | |
| findings | No | Ordered diagnostic findings with severity and actionable fixes. |