get_law_version_contents
Retrieve the list of articles contained in a specific law version from Taiwan's Legislative Yuan. Use a law version ID to fetch paginated contents, filtering by article number or current status.
Instructions
取得法律版本包含的法條列表。
Args:
law_version_id: 版本編號,必填,例:90481:1944-02-29-制定
law_number: 法律編號,例:90481
version_id: 法條資料版本編號,例:90481:1944-02-29-制定
order: 順序,例:1
article_number: 條號,例:第一條
current_version_status: 現行版,可選值:現行、非現行
version_tracking: 版本追蹤,例:new
page: 頁數,預設1
limit: 每頁筆數,預設20
output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
Returns:
str: JSON 格式,包含特定法律版本的法條列表。
Raises:
例外時回傳中文錯誤訊息字串。
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": {
"law_version_id": "<law_version_id>"
},
"name": "get_law_version_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20 | |
| order | No | 順序,例:1 | |
| law_number | No | 法律編號,例:90481 | |
| version_id | No | 法條資料版本編號,例:90481:1944-02-29-制定 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| article_number | No | 條號,例:第一條 | |
| law_version_id | Yes | 版本編號,必填,例:90481:1944-02-29-制定 | |
| version_tracking | No | 版本追蹤,例:new | |
| current_version_status | No | 現行版,可選值:現行、非現行 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |