get_judgment_pdf
Retrieve a Taiwan judgment PDF link by judgment ID, with optional download to local storage.
Instructions
取得裁判書 PDF 連結,可選擇直接下載到本機。
回傳 dict 一定包含 judgment_id 與 url;當實際下載時另含 path、size_bytes、cached。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"judgment_id": "<judgment_id>"
},
"name": "get_judgment_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_to | No | 儲存目的。以 .pdf 結尾視為完整檔案路徑;否則視為目錄並用預設檔名 {judgment_id}.pdf 放入。未指定時讀環境變數 MCP_TW_JUDGMENT_DOWNLOAD_DIR;若也未設定則不下載,只回 URL。 | |
| judgment_id | Yes | 裁判書 ID,可從 search_judgments 結果取得。格式範例:TPDM,114,易,1585,20260326,1 |