A ship's port calls
get_port_callsThe ports one ship called at, by MMSI, newest first: over the last 180 days (or fewer), up to 100 calls, each with when she arrived and left. A call is a stop of 10 minutes or more near a port that Shiptrail heard.
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": {
"mmsi": "<mmsi>"
},
"name": "get_port_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | The last this many days. | |
| mmsi | Yes | Her MMSI: the whole nine-digit number, not part of it (find it with search_ships). | |
| limit | No | At most this many calls, the newest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Her page, or the port's, on shiptrail.io. | |
| days | Yes | ||
| mmsi | Yes | ||
| calls | Yes |