jma_find_area
Look up JMA area codes from kanji, kana, romaji, or a code. Returns ranked matches with hierarchy and office_code to disambiguate place names for forecasts and warnings.
Instructions
Looks up Japan Meteorological Agency (JMA, 気象庁) area codes for a place in Japan. Accepts kanji (東京都, 札幌市, 渋谷区), kana (さっぽろ, シブヤ), romaji/English (Sapporo, Shibuya, Tokyo) or a JMA code. Returns ranked matches with their level (office = prefecture-level forecast district 府県予報区; class10 = sub-region 一次細分区域; class15 = local area; class20 = municipality 市区町村; center = regional block such as 北海道地方), the hierarchy path, and office_code, the code jma_get_forecast and jma_get_warnings use. You can usually pass a place name straight to those tools; call this first when a name is ambiguous (府中 exists in Tokyo and Hiroshima) or to show the user which area was meant. No API key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matches to return (default 5). | |
| query | Yes | Place name in kanji, kana or romaji, e.g. '札幌', 'さっぽろ', 'Sapporo', '那覇市', 'Shibuya', or a JMA code like '130000'. |