range_to_cidr
Convert an IP range to CIDR notation.
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": {
"start_ip": "<start_ip>",
"end_ip": "<end_ip>"
},
"name": "range_to_cidr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ip | Yes | End IP address | |
| start_ip | Yes | Start IP address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidrs | No | ||
| error | No | ||
| end_ip | No | ||
| start_ip | No | ||
| total_addresses | No |