{"id":"ipv4-cidr-aggregate","version":"1.0.0","description":"Merge a list of IPv4 CIDR blocks into the minimal equivalent list of non-overlapping CIDR blocks.","supported_operations":["ipv4 cidr aggregate","summarize ipv4 cidr list","collapse ipv4 subnets","ipv4 cidr supernet merge"],"unsupported_operations":["IPv6","preserving input order or duplicate entries"],"semantics":["cidrs is a non-empty array of at most 512 dotted-decimal/prefix strings, each with host bits zero.","Overlapping and directly adjacent blocks are merged; a block fully covered by another is absorbed into it.","aggregated is the minimal ordered (ascending network address) list of CIDR blocks whose union equals the union of the input blocks.","Throws if the result would exceed 4096 blocks."],"limits":{"max_cidr_length":18,"max_input_cidrs":512,"max_output_blocks":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["cidrs"],"properties":{"cidrs":{"type":"array","minItems":1,"maxItems":512,"items":{"type":"string","maxLength":18}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["aggregated","count"],"properties":{"aggregated":{"type":"array","items":{"type":"string","maxLength":18},"maxItems":4096},"count":{"type":"integer","minimum":1,"maximum":4096}}},"examples":[{"input":{"cidrs":["10.0.0.0/25","10.0.0.128/25","10.0.2.0/24"]},"output":{"aggregated":["10.0.0.0/24","10.0.2.0/24"],"count":2}}],"execute_url":"/v1/tools/ipv4-cidr-aggregate/versions/1.0.0/execute"}