Twinkle HubTwinkle Hub
サインイン

📌 2026-06-30 追加: 🎓 Teacher exam dual corpus — 12,731 qualification questions + 2,421 recruitment questions (519 データセット)

完全な changelog を見る →

座標查行政區代碼

twtools-lookup_district_by_coord

TW 専用MIT

座標 → 行政區代碼 (縣市/鄉鎮市區/村里).

Args:
    lng / lat: WGS84.
    unit: 'county' / 'town' / 'village' (default).
Returns: {found, result: [{countyid, countycode, countyname,
                           townid, towncode, townname,
                           villcode, villname}]}

關鍵: 之前 hub geo_basemap join_keys「行政區代碼」95.9% phantom,
      本 tool 補完: 點位 dataset (lat/long) → 行政區代碼 → 跨 dataset join.

入力スキーマ

{
  "properties": {
    "lng": {
      "title": "Lng",
      "type": "number"
    },
    "lat": {
      "title": "Lat",
      "type": "number"
    },
    "unit": {
      "default": "village",
      "enum": [
        "county",
        "town",
        "village"
      ],
      "title": "Unit",
      "type": "string"
    }
  },
  "required": [
    "lng",
    "lat"
  ],
  "title": "lookup_district_by_coordArguments",
  "type": "object"
}

呼び出し方

Twinkle Hub MCP クライアントが設定済みなら、エージェントは twtools-lookup_district_by_coord を見つけます。呼び出しを依頼するだけ — 例:

# Ask Claude / any MCP client:
請用 twtools-lookup_district_by_coord 處理 "…"。

# It will call:
twtools-lookup_district_by_coord(input="…")

まだクライアントを設定していませんか?

Claude Desktop は 3 分で接続 — .mcpb をダウンロードしてダブルクリック、または他クライアントは docs を参照。

ユーザードキュメントを見る