文化資產(古蹟/民俗/古物/景觀)語意+關鍵字檢索
tw_search_cultural_heritage
台灣專屬MIT
**關鍵字 / Keywords**: 文化資產 古蹟 歷史建築 民俗 古物 文化部 cultural heritage MOC monument historic-site
台灣文化資產語意檢索 (4,187 筆,涵蓋 6 類).
Args:
query: 自然語言 (e.g. "媽祖信仰", "日治建築", "原住民傳統")
heritage_type: 類別 filter — "古蹟" / "民俗" / "古物" /
"文化景觀" / "考古遺址" / "史蹟"
institution_contains: 主管機關必含字串 (e.g. "臺南市", "文化部")
name_contains: 文資名稱必含字串 (e.g. "媽祖", "孔廟")
limit: top-K (1..100)
Returns:
{n_corpus, n_returned, query, hits: [{heritage_type, dataset_id,
caseId, caseName, assetsClassifyName, registerReason,
judgeCriteria, addresses, govInstitutionName, caseUrl,
similarity}, ...]}
典型用例:
# 跨類別找媽祖相關
tw_search_cultural_heritage("媽祖")
# 只找民俗
tw_search_cultural_heritage("祭典", heritage_type="民俗")
# 臺南市古蹟
tw_search_cultural_heritage("廟宇", heritage_type="古蹟",
institution_contains="臺南市")輸入 schema
{
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"heritage_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Heritage Type"
},
"institution_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Institution Contains"
},
"name_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name Contains"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
},
"mode": {
"default": "hybrid",
"title": "Mode",
"type": "string"
}
},
"required": [
"query"
],
"title": "tw_search_cultural_heritageArguments",
"type": "object"
}呼叫方式
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 tw_search_cultural_heritage。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 tw_search_cultural_heritage 處理 "…"。 # It will call: tw_search_cultural_heritage(input="…")
尚未設定 Client?
Claude Desktop 約 3 分鐘即可完成設定 — 下載 .mcpb 檔案並雙擊即可,或參閱文件中的各 Client 安裝步驟。
查看使用者設定文件