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 참조.

사용자 문서 보기