cidr_to_netmask
Convert CIDR prefix length to subnet mask.
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": {
"prefix": "<prefix>"
},
"name": "cidr_to_netmask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | CIDR prefix length (0-32) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| netmask | Yes | ||
| cidr_prefix | Yes | ||
| total_hosts | Yes | ||
| wildcard_mask | Yes |