Get a port
get_portA port's Arrivals board (ships in port now, then ships en route by ETA) and Departures board (ships that left in the last 48 hours), as its Shiptrail page shows them, by UN/LOCODE. Each row carries the ship's MMSI for get_ship.
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": {
"locode": "<locode>"
},
"name": "get_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many rows on each list; the counts are always whole. | |
| locode | Yes | The port's UN/LOCODE, such as FIHEL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Her page, or the port's, on shiptrail.io. | |
| port | Yes | ||
| counts | Yes | ||
| arrivals | Yes | ||
| truncated | No | True when a list was cut to the limit. | |
| departures | Yes |