range_to_cidrs
Convert an inclusive IP address range into the minimal list of covering CIDRs. Reduce overlapping ranges to efficient CIDR notation.
Instructions
Convert an inclusive IP address range to the minimal list of covering CIDRs.
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": {
"first_ip": "<first_ip>",
"last_ip": "<last_ip>"
},
"name": "range_to_cidrs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_ip | Yes | ||
| last_ip | Yes |