get-iplists
Retrieve IP lists from the PCE with optional filters, including exact address containment checks, to identify which lists cover a given IPv4 or IPv6 address.
Instructions
Get IP lists from the PCE with optional filtering. Each list carries ip_ranges as [{from_ip, to_ip, exclusion, description}] and fqdns as [{fqdn, description}], plus is_default: true on the built-in list that covers 0.0.0.0/0 or ::/0. Use contains_ip for an exact 'which lists cover this address' answer, evaluated server-side (CIDRs, from/to spans, exclusions, IPv4 and IPv6); the ip_address filter is the PCE's substring match on the range text and does not look inside CIDRs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-iplists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | No | Filter by FQDN (supports partial matches) | |
| name | No | Filter IP lists by name (supports partial matches) | |
| pversion | No | Policy version to read (default draft). Echoed as policy_version in the response. | |
| ip_address | No | PCE-side substring match on the range text (e.g. '10.20.30.4' matches '10.20.30.40/32' and never matches an address inside a CIDR). Use contains_ip for exact containment. | |
| contains_ip | No | A single IPv4 or IPv6 address. Return only the IP lists whose ranges contain it, honouring exclusion ranges; each returned list carries matched_range. Combine with is_default to tell 'in a real list' from 'only in Any'. | |
| description | No | Filter by description (supports partial matches) | |
| max_results | No | Maximum number of IP lists to return |