get_marine_weather
Retrieve marine weather forecasts for nautical planning, including wave height, swell data, and optional tide information for coastal or ocean coordinates.
Instructions
Get marine and sailing weather forecast including significant wave height, swell height, swell direction, swell period, and optionally tide data. Useful for nautical and coastal planning.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Coastal or ocean coordinates as lat,lon (e.g. 51.5,-1.8). | |
| days | No | Forecast days (1–7 depending on plan). Default: 1. | |
| tides | No | Include tide data (Pro+ plan and above). Default: no. |
Implementation Reference
- src/index.ts:308-316 (handler)The handler implementation for the get_marine_weather tool, which processes arguments and calls the weatherRequest helper function.
case "get_marine_weather": { const { q, days = 1, tides = "no" } = args as { q: string; days?: number; tides?: string; }; result = await weatherRequest("/marine.json", { q, days, tides }); break; } - src/index.ts:152-173 (schema)The tool registration and schema definition for get_marine_weather, outlining the expected input parameters and description.
{ name: "get_marine_weather", description: "Get marine and sailing weather forecast including significant wave height, swell height, swell direction, swell period, and optionally tide data. Useful for nautical and coastal planning.", inputSchema: { type: "object", properties: { q: { type: "string", description: "Coastal or ocean coordinates as lat,lon (e.g. 51.5,-1.8).", }, days: { type: "number", description: "Forecast days (1–7 depending on plan). Default: 1.", }, tides: { type: "string", enum: ["yes", "no"], description: "Include tide data (Pro+ plan and above). Default: no.", }, }, required: ["q"],