Exact CIDR set difference
network_set_evidenceCompares two bounded IPv4 and IPv6 CIDR sets. before contains included ranges and after supplies the second set. For subtraction, put ranges to exclude in after and read removed for before minus after. added is after minus before. Reports canonical CIDR ranges, address counts, and witnesses. Address counts are exact decimal strings. Keep them as strings for display and use BigInt for arithmetic. A failed comparison is unavailable, not zero. A successful response can contain more CIDRs than a request accepts or include IPv4-mapped IPv6 ranges that requests reject. To reproduce a comparison, replay its original public before and after arrays. For a derived comparison with refused or oversized ranges, compare locally without dropping ranges. It does not assess reachability, routing, security policy, configuration, or host usability.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "network_set_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Second CIDR set; for subtraction, these are ranges to exclude from before. Provide at most 64 canonical CIDRs with zero host bits. | |
| before | Yes | CIDRs included in the original before set. Provide at most 64 canonical CIDRs with zero host bits. |