{"id":"ipv4-cidr-contains","version":"1.0.0","description":"Test whether one IPv4 CIDR block fully contains another IPv4 CIDR block.","supported_operations":["ipv4 cidr contains","ipv4 subnet contains subnet","check ipv4 cidr containment"],"unsupported_operations":["IPv6","partial/overlap-only containment"],"semantics":["outer and inner are each dotted-decimal/prefix with host bits zero; otherwise the tool throws.","contains is true iff every address in inner also lies in outer, i.e. inner.prefix >= outer.prefix and inner's range is a subset of outer's range.","A CIDR always contains itself (equal blocks yield contains: true)."],"limits":{"max_cidr_length":18},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["outer","inner"],"properties":{"outer":{"type":"string","maxLength":18},"inner":{"type":"string","maxLength":18}}},"output_schema":{"type":"object","additionalProperties":false,"required":["contains","outer_network","inner_network"],"properties":{"contains":{"type":"boolean"},"outer_network":{"type":"string","maxLength":18},"inner_network":{"type":"string","maxLength":18}}},"examples":[{"input":{"outer":"10.0.0.0/8","inner":"10.1.0.0/16"},"output":{"contains":true,"outer_network":"10.0.0.0/8","inner_network":"10.1.0.0/16"}}],"execute_url":"/v1/tools/ipv4-cidr-contains/versions/1.0.0/execute"}