vessels_near_port
Lists vessels within a radius of a named Malaysian port, returning nearest first with distance. Shows match/return counts and flags stale snapshot data.
Instructions
List vessels within a radius (nautical miles) of a named port.
Recognized ports: Port Klang, Tanjung Pelepas, Penang, Malacca, Langkawi. Returns JSON with a "data" block stating the source, a "matches" count of everything inside the radius, a "returned" count of how many are included, and a "vessels" list annotated with distance_nm, nearest first. When returned is less than matches the nearest were kept and the rest omitted. When data.source is "snapshot" the positions are not current: say so when answering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port name. One of: Port Klang, Tanjung Pelepas, Penang, Malacca, Langkawi. Case insensitive. | |
| limit | No | Maximum number of vessels to return, nearest first, between 1 and 200. The response always reports how many matched, so a truncated answer is visible rather than silent. | |
| radius_nm | No | Search radius in nautical miles, greater than 0 and at most 500. The server only receives traffic for Malaysian waters, so a radius beyond that covers sea it never sees. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |