Get Weather
get_weatherRetrieve weather and temperature for a specified area from the Japan Meteorological Agency API, including heatstroke cautions when temperatures are high.
Instructions
天気情報取得 - 気象庁APIから天気・気温を取得。高温時は熱中症の留意を返す。ai_transit_advice はLLM向けの留意メモ(ja/zh は 【留意】、en は [Note] で始まる)で、そのまま貼らず回答に織り込む。language(ja/en/zh)指定で応答言語を強制可能。
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": {
"area_name": "<area_name>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | 応答言語の強制指定(省略時は地域名から自動判定) | |
| area_name | Yes | 地域名(例: 東京, 横浜) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | SUCCESS / NO_DATA / ERROR など | |
| message | No | ||
| detected_language | No | ja / en / zh |