tra_luat
Search Vietnamese legal articles by keyword with full-text support, including diacriticless input. Filter by subject and get relevance-scored results.
Instructions
Tìm ĐIỀU LUẬT (luật thành văn) theo từ khóa (full-text, tìm cả khi gõ không dấu). Xếp hạng ƯU TIÊN khớp ở TIÊU ĐỀ; mỗi kết quả kèm 'diem' (độ liên quan). chu_de (tùy chọn): tên chủ đề để thu hẹp & tăng chính xác, vd 'Dân sự'. Phân trang: gioi_han tối đa 50; offset để lấy trang kế. LƯU Ý: câu càng NGẮN & đúng thuật ngữ càng chuẩn. Câu dài/mô tả sẽ cho điểm thấp và CÓ THỂ TRẢ RỖNG — khi đó rút gọn còn từ khóa cốt lõi (vd 'hợp đồng', 'thừa kế') hoặc thêm chu_de. Trả về {tong_so, offset, so_tra, con_nua, ket_qua[...]}; hoặc rỗng kèm goi_y nếu khớp quá yếu.
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": {
"tu_khoa": "<tu_khoa>"
},
"name": "tra_luat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chu_de | No | ||
| offset | No | ||
| tu_khoa | Yes | ||
| gioi_han | No |