Getweatherbylocation
getWeatherByLocationQueries weather by latitude and longitude, defaulting to today and tomorrow when dates are omitted, to support location-based flight and travel planning.
Instructions
天气信息查询 - 根据经纬度查询天气信息,使用Open-Meteo API。如果不提供日期,默认查询今天和明天的天气数据
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "getWeatherByLocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| latitude | Yes | ||
| longitude | Yes | ||
| start_date | No |