calculate_ip_subnet
Calculate IPv4 subnet information including network address, broadcast address, and usable host range from an IP address and CIDR notation.
Instructions
Calculate subnet information for IPv4
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": {
"ip": "<ip>",
"cidr": "<cidr>"
},
"name": "calculate_ip_subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address (e.g., 192.168.1.1) | |
| cidr | Yes | CIDR notation (e.g., 24) |