get_port_events
Retrieve arrivals and departures for a specific port, with optional time-window and pagination filters; without a start time, returns only the last two hours.
Instructions
Get port events (arrivals/departures) for a specific port. Covers only the last 2 hours unless timeFrom is given.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"unlocode": "<unlocode>"
},
"name": "get_port_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page, 1 to 50. Defaults to 20. | |
| timeTo | No | End of the time window, RFC3339. Defaults to now. | |
| timeFrom | No | Start of the time window, RFC3339. Without it the service returns only the last 2 hours. | |
| unlocode | Yes | UN/LOCODE of the port | |
| nextToken | No | Pagination token from previous response |