Search ports
search_portsFind ports by name or UN/LOCODE. Busy ports come first, with how many ships are in port, en route and lately departed. Use get_port with a UN/LOCODE for its boards.
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": "search_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many ports. | |
| query | Yes | A port's name or part of it, or its UN/LOCODE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes | ||
| query | Yes |