get_weather_by_address
Retrieve weather details for a specific address, including real-time conditions, hourly forecasts, and daily predictions. Customize output with language, unit preferences, and forecast steps.
Instructions
根据地址获取天气信息
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | 地址,如"北京市海淀区" | |
daily_steps | No | 每日预报天数 (1-15) | |
hourly_steps | No | 小时预报数量 (1-360) | |
language | No | 语言 | zh_CN |
unit | No | 单位制 (metric: 公制, imperial: 英制) | metric |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "地址,如\"北京市海淀区\"",
"type": "string"
},
"daily_steps": {
"default": 5,
"description": "每日预报天数 (1-15)",
"maximum": 15,
"minimum": 1,
"type": "number"
},
"hourly_steps": {
"default": 24,
"description": "小时预报数量 (1-360)",
"maximum": 360,
"minimum": 1,
"type": "number"
},
"language": {
"default": "zh_CN",
"description": "语言",
"enum": [
"zh_CN",
"en_US"
],
"type": "string"
},
"unit": {
"default": "metric",
"description": "单位制 (metric: 公制, imperial: 英制)",
"enum": [
"metric",
"imperial"
],
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}