getWeatherByCity
Retrieve weather forecasts for major cities to assist with flight planning and travel preparations. Provides current and next-day weather data by default.
Instructions
城市天气查询 - 根据城市名查询天气信息。支持武汉、北京、上海等主要城市。如果不提供日期,默认查询今天和明天的天气数据
Input Schema
Name | Required | Description | Default |
---|---|---|---|
city_name | Yes | ||
end_date | No | ||
start_date | No |
Input Schema (JSON Schema)
{
"properties": {
"city_name": {
"title": "City Name",
"type": "string"
},
"end_date": {
"default": null,
"title": "End Date",
"type": "string"
},
"start_date": {
"default": null,
"title": "Start Date",
"type": "string"
}
},
"required": [
"city_name"
],
"type": "object"
}