Search for ports
find_portsSearch the port registry and return matching ports (identity, country, UN/LOCODE, classification, coordinates, maritime area). Search by name (optionally fuzzy), UN/LOCODE, classification, country, or geographically (lat + lon + radius in nautical miles). Always returns a list, even for a single match. Use this to discover ports or resolve a name to a UN/LOCODE/uuid; for full detail on one known port (including terminals) use get_port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Center latitude for a geographic search (use with lon and radius). | |
| lon | No | Center longitude for a geographic search (use with lat and radius). | |
| name | No | Port name to search for (set fuzzy for approximate matching). | |
| uuid | No | Datalastic port UUID. | |
| fuzzy | No | Match the name approximately instead of exactly. | |
| radius | No | Search radius in nautical miles (max 50); requires lat and lon. | |
| unlocode | No | Port UN/LOCODE: 5 alphanumeric characters (case-insensitive). | |
| port_type | No | Filter by classification. One of: Port, Anchorage, Marina, Offshore Terminal, Shelter, Demolition Yard, Canal, Fishing Harbour. | |
| country_iso | No | 2-letter ISO country code (e.g. GB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes |