get_location_trend
查詢單一路口或路段的歷年(106 年起)件數趨勢,以及指定年度(最多 5 個,省略時為上游已發布的最近 3 年)的肇因與碰撞類型;逐年說明哪些年度因未進入熱點排名而沒有肇因資料(不代表沒有事故);歷年資料的最後一年是初估值,不能單憑件數升降判斷改善成效;kind 與 locationKeyid 取自 get_cbi_hotspots 的結果,city、area 與 metric 用來掃描各年排名
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": {
"kind": "<kind>",
"locationKeyid": "<locationKeyid>",
"city": "<city>"
},
"name": "get_location_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ALL 或「縣市|鄉鎮」,例如 屏東縣|恆春鎮;用來縮小掃描排名的範圍 | ALL |
| city | Yes | 縣市名稱,例如 屏東縣 | |
| kind | Yes | 熱點類型,取自 get_cbi_hotspots 的 kind | |
| years | No | 要查肇因的民國年度,1–5 個、106 起到今年、不可重複;省略時查上游已發布的最近 3 個年度 | |
| metric | No | 掃描各年熱點排名用的指標;路口只進其他指標排名的年度,換指標才找得到 | CBI |
| locationKeyid | Yes | 地點代碼,取自 get_cbi_hotspots 的 locationKeyid(不是 hotspotKeyid) |