Get a ship
get_shipEverything Shiptrail's page shows about one ship, by MMSI: identity, size, position, speed, course and status, destination and ETA, where she came from, recent port calls, particulars and registry facts, photo and its credit, a Wikipedia summary, and, with includeNearby, the ships near her. Where she has been is get_track; the ports she called at in the last 180 days, get_port_calls.
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_ship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mmsi | Yes | Her MMSI: the whole nine-digit number, not part of it (find it with search_ships). | |
| includeNearby | No | Also list the ships near her. Leave it off unless the question is about her surroundings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imo | No | ||
| url | Yes | Her page, or the port's, on shiptrail.io. | |
| flag | No | ||
| kind | No | The map's class for her AIS type. | |
| mmsi | Yes | ||
| name | Yes | ||
| type | No | ||
| beamM | No | ||
| onMap | Yes | ||
| photo | No | ||
| nearby | No | ||
| voyage | No | ||
| dossier | No | pending: her particulars and photo are still being looked up; ask again in a minute. | |
| lengthM | No | ||
| aisClass | No | ||
| callSign | No | ||
| draughtM | No | ||
| position | No | Where she is, as she last broadcast it. For a ship off the map, where she was last heard. | |
| lastHeard | No | Her last position report. | |
| wikipedia | No | ||
| particulars | No | From Wikidata and the US Coast Guard, where they know her. | |
| recentCalls | No | ||
| sharesImoWith | No | Other MMSIs heard with her IMO number. |