Look up IP addresses
lookup_ipsLook up a batch of IPv4 or IPv6 addresses in local MMDB databases. Returns matching records and networks per address, and continues after per-address errors.
Instructions
Look up a batch of IP addresses in local MMDB databases. Each result contains the matching record and network, found=false for no match, or an error for that address. Other addresses are still processed after an error. Use lookup_ip for a single address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ips | Yes | IPv4 or IPv6 addresses to look up. Results preserve input order, including duplicate addresses. | |
| fields | No | Optional field paths. Returns an object keyed by each selected path. Use dots for map keys, numeric array indexes, or $ for the whole record. Omit or use [] for full records. Repeat on each page. | |
| database | No | Exact filename from list_databases. Omit to query all loaded databases. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |