Merge / summarize a list of CIDRs into the smallest equivalent set
cidr_aggregateMerge / summarize a list of CIDRs into the smallest equivalent set. Collapses overlapping and adjacent IPv4/IPv6 ranges (route summarization), returning the minimal CIDR list that covers exactly the same addresses. Price: $0.003 USDC per call via x402 (eip155:8453).
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": {
"cidrs": "<cidrs>"
},
"name": "cidr_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidrs | Yes | CIDR blocks or single IPs (JSON array, or a comma/space separated string) |