{"id":"ipv6-cidr-parse","version":"1.0.0","description":"Parse an IPv6 CIDR block into its canonical network address, prefix, first/last address, and total address count.","supported_operations":["ipv6 cidr parse","ipv6 subnet info","ipv6 cidr to network details"],"unsupported_operations":["IPv4","host-address CIDR notation (host bits must be zero)","subnet-router anycast/usable-host distinctions"],"semantics":["cidr is address/prefix (address in any RFC 4291 textual form) with prefix a canonical decimal integer 0-128 and no leading zeros except 0.","The network address must have host bits zero; otherwise the tool throws \"cidr host bits must be zero\".","network, first_address and last_address are RFC 5952 canonical strings; network equals first_address.","total_count is the canonical decimal string 2^(128-prefix), the number of addresses in the block. IPv6 has no broadcast address and this tool draws no usable/reserved distinction."],"limits":{"max_cidr_length":49,"prefix_min":0,"prefix_max":128},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["cidr"],"properties":{"cidr":{"type":"string","maxLength":49}}},"output_schema":{"type":"object","additionalProperties":false,"required":["network","prefix","first_address","last_address","total_count"],"properties":{"network":{"type":"string","maxLength":45},"prefix":{"type":"integer","minimum":0,"maximum":128},"first_address":{"type":"string","maxLength":45},"last_address":{"type":"string","maxLength":45},"total_count":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":39}}},"examples":[{"input":{"cidr":"2001:db8::/32"},"output":{"network":"2001:db8::","prefix":32,"first_address":"2001:db8::","last_address":"2001:db8:ffff:ffff:ffff:ffff:ffff:ffff","total_count":"79228162514264337593543950336"}}],"execute_url":"/v1/tools/ipv6-cidr-parse/versions/1.0.0/execute"}