座標查最近 POI
tw_query_geo_theme_nearest
台灣專屬MIT
座標 + theme_id → 最近 1 個 POI (GeoJSON Feature).
Args:
theme_id: 從 list_geo_themes() 取得, e.g. 'o4XTdRod' 避難收容處所 /
'YoFiEKsY' 寺廟 / 'kJqZSMsB' 測速 / 'cOSQaz8H' 交通事故.
lng / lat: WGS84.
Returns: {found, theme_id, feature: GeoJSON {geometry, properties}}
典型問: 「我家最近的避難所」「101 大樓附近的寺廟」.輸入 schema
{
"properties": {
"theme_id": {
"title": "Theme Id",
"type": "string"
},
"lng": {
"title": "Lng",
"type": "number"
},
"lat": {
"title": "Lat",
"type": "number"
}
},
"required": [
"theme_id",
"lng",
"lat"
],
"title": "query_geo_theme_nearestArguments",
"type": "object"
}呼叫方式
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 tw_query_geo_theme_nearest。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 tw_query_geo_theme_nearest 處理 "…"。 # It will call: tw_query_geo_theme_nearest(input="…")
尚未設定 Client?
Claude Desktop 約 3 分鐘即可完成設定 — 下載 .mcpb 檔案並雙擊即可,或參閱文件中的各 Client 安裝步驟。
查看使用者設定文件