v2
Retrieve 5-day weather forecasts using latitude and longitude coordinates, with support for multiple languages.
Instructions
Get 5 days weather forecast data by Latitude \u0026 Longitude
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Example value: 40.730610 | |
| longitude | Yes | Example value: -73.935242 | |
| lang | No | We support the following languages that you can use with the corresponded lang values: AFAfrikaans, ALAlbanian, ARArabic, AZAzerbaijani, BGBulgarian, CACatalan, CZCzech, DADanish, DEGerman, ELGreek, ENEnglish, EUBasque, FAPersian (Farsi), FIFinnish, FRFrench, GLGalician, HEHebrew, HIHindi, HRCroatian, HUHungarian, IDIndonesian, ITItalian, JAJapanese, KRKorean, LALatvian, LTLithuanian, MKMacedonian, NONorwegian, NLDutch, PLPolish, PTPortuguese, PT_BRPortuguês Brasil, RORomanian, RURussian, SESwed |
Implementation Reference
- server.py:56-61 (registration)The tool is automatically registered by FastMCP from the OpenAPI specification provided in OPENAPI_SPEC. The tool names are derived from the operationIds in the specification (e.g., v2___3_hour_forecast_5_days).
mcp = FastMCP.from_openapi( openapi_spec=openapi_dict, client=client, name="open_weather13", version=__version__ )