Find a port / UN/LOCODE (no key)
find_portResolve a port name, country or partial UN/LOCODE to the LOCODEs the routing engine knows. Routes are addressed by LOCODE, so call this before score_voyage rather than guessing a code. Works with no API key.
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": {
"query": "<query>"
},
"name": "find_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return (default 5) | |
| query | Yes | Port name, country, or LOCODE fragment, e.g. "rotterdam", "NLRTM", "Piraeus" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes | Best matches first |