{"at":"2026-11-23T03:13:06.757Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:13:07.281Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:13:07.382Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:13:07.847Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"searoute-ts","version":"0.1.0"}}}}
{"at":"2026-11-23T03:13:07.847Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:13:07.847Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:13:07.851Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Compute the shortest maritime route between two points (UN/LOCODE port codes like \"CNSHA\", or [lon, lat] coordinates). Returns distance, optional duration, the canals/straits traversed, and the route GeoJSON. Supports passage restrictions (e.g. avoid Suez), arctic gating, and vessel-draft-aware canal avoidance.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"allowArctic":{"description":"Allow the ice-blocked Northwest/Northeast Passages (blocked by default).","type":"boolean"},"destination":{"$ref":"#/properties/origin"},"includeGeometry":{"default":true,"description":"Include the route LineString GeoJSON in the result.","type":"boolean"},"maxSnapDistanceKm":{"description":"Reject inputs farther than this (km) from the maritime network.","exclusiveMinimum":0,"type":"number"},"origin":{"anyOf":[{"description":"UN/LOCODE port code, e.g. \"CNSHA\" or \"NLRTM\"","minLength":1,"type":"string"},{"description":"[longitude, latitude] in decimal degrees","items":[{"maximum":180,"minimum":-180,"type":"number"},{"maximum":90,"minimum":-90,"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"description":"A UN/LOCODE port code string, or a [longitude, latitude] coordinate pair."},"restrictions":{"description":"Named passages the route must avoid. e.g. [\"suez\",\"babelmandeb\"] forces Cape of Good Hope routing during a Red Sea disruption.","items":{"enum":["suez","panama","gibraltar","babelmandeb","bosporus","ormuz","malacca","sunda","dover","kiel","corinth","bering","magellan","cape_horn","northwest","northeast"],"type":"string"},"type":"array"},"speedKnots":{"description":"Vessel speed in knots; when given, an estimated duration in hours is returned.","exclusiveMinimum":0,"type":"number"},"units":{"default":"nauticalmiles","description":"Unit for the returned distance.","enum":["nauticalmiles","kilometers","miles"],"type":"string"},"vesselDraftMeters":{"description":"Vessel draft in metres; canals too shallow for it are auto-avoided.","exclusiveMinimum":0,"type":"number"}},"required":["origin","destination"],"type":"object"},"name":"sea_route","title":"Shortest sea route"},{"description":"Return up to k distinct alternative maritime routes between two points, each blocking a different combination of major canals/straits (e.g. baseline vs. no-Suez vs. no-Panama), sorted by distance. Useful for comparing \"via Suez\" against \"via Cape of Good Hope\".","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"allowArctic":{"description":"Allow the ice-blocked Northwest/Northeast Passages (blocked by default).","type":"boolean"},"destination":{"$ref":"#/properties/origin"},"includeGeometry":{"default":false,"description":"Include each route LineString GeoJSON in the result (off by default; verbose).","type":"boolean"},"k":{"default":3,"description":"Maximum number of distinct alternative routes to return.","maximum":6,"minimum":1,"type":"integer"},"origin":{"anyOf":[{"description":"UN/LOCODE port code, e.g. \"CNSHA\" or \"NLRTM\"","minLength":1,"type":"string"},{"description":"[longitude, latitude] in decimal degrees","items":[{"maximum":180,"minimum":-180,"type":"number"},{"maximum":90,"minimum":-90,"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"description":"A UN/LOCODE port code string, or a [longitude, latitude] coordinate pair."},"restrictions":{"description":"Named passages the route must avoid. e.g. [\"suez\",\"babelmandeb\"] forces Cape of Good Hope routing during a Red Sea disruption.","items":{"enum":["suez","panama","gibraltar","babelmandeb","bosporus","ormuz","malacca","sunda","dover","kiel","corinth","bering","magellan","cape_horn","northwest","northeast"],"type":"string"},"type":"array"},"units":{"default":"nauticalmiles","description":"Unit for the returned distance.","enum":["nauticalmiles","kilometers","miles"],"type":"string"},"vesselDraftMeters":{"description":"Vessel draft in metres; canals too shallow for it are auto-avoided.","exclusiveMinimum":0,"type":"number"}},"required":["origin","destination"],"type":"object"},"name":"sea_route_alternatives","title":"Alternative sea routes"}]}}}
