Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

Materialize dataset

tw_materialize_dataset

TW-specificMIT

**關鍵字 / Keywords**: 下載 快取 物化 rebuild cache materialize download prepare

強制下載並轉換指定資料集(若已 cache 則為 no-op)。

通常不需要直接呼叫——tw_query_rows 已內建 lazy materialize。手動呼叫的場景:
- 預熱 cache,讓後續 query 零延遲
- 大型資料集要先確認下載成功再 query

Input schema

{
  "properties": {
    "dataset_id": {
      "title": "Dataset Id",
      "type": "string"
    }
  },
  "required": [
    "dataset_id"
  ],
  "title": "tw_materialize_datasetArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see tw_materialize_dataset. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 tw_materialize_dataset 處理 "…"。

# It will call:
tw_materialize_dataset(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs