Ships that passed a place
get_area_historyThe ships that passed within a radius of a port (UN/LOCODE) or a point (lat and lon) over the last 1, 3, 6, 12 or 24 hours, the most recently seen first: who each is, when she was first and last inside, and how close she came. The radius can be up to 25 km near the equator and less towards the poles. Follow any of them with get_track or get_ship.
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_area_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the point, with lon. | |
| lon | No | Longitude of the point, with lat. | |
| hours | No | The last this many hours. | |
| limit | No | At most this many ships, the most recently seen. | |
| locode | No | A port's UN/LOCODE, five letters; or give lat and lon instead. | |
| radiusKm | No | How far out to look, in kilometres. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The window's end, a few minutes ago. | |
| from | Yes | The window's start: later than asked when the area was too busy for all of it. | |
| hours | Yes | ||
| ships | Yes | ||
| total | Yes | Every ship that passed; ships lists the most recently seen of them. | |
| center | Yes | ||
| trimmed | No | busy: the window was cut to its newest hours; history: positions were not indexed that far back. | |
| radiusKm | Yes | ||
| truncated | No | True when more ships passed than the limit. |