calculate_subnet
Calculate subnet details including CIDR prefix, wildcard mask, and host ranges from a base IP address and required number of hosts.
Instructions
Calculate subnet details given a base IP and required hosts.
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_base": "<network_base>",
"hosts_needed": "<hosts_needed>"
},
"name": "calculate_subnet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_base | Yes | ||
| hosts_needed | Yes | ||
| return_format | No | detailed |