get_pcode
Convert a Taiwan law name to its national law database pcode. Supports fuzzy matching for over 11,700 regulations.
Instructions
將法規名稱轉換為全國法規資料庫的 pcode 代碼。
涵蓋 11,700+ 部法規(法律 + 命令),支援模糊比對。
Args: law_name: 法規名稱(如「民法」「勞基法」「消保法」)
Returns: 包含 pcode 的字典,或模糊比對建議
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_name": "<law_name>"
},
"name": "get_pcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law_name | Yes |