Search laws and regulations
qv_searchSearch Iran's law and regulation database by title or full text, filtering by date, status, approver and subject to find matching laws, regulations, court votes and legal opinions.
Instructions
Search the Iranian law and regulation database (qavanin.ir) and list matching titles.
Returns total, pages and items (id for the other tools, title, approved, approver, repealed). No snippets.
Date sort has ties, so deep paging may repeat or skip rows; narrow the filters instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qv_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | law (Majlis statutes), regulation, vote (court rulings), opinion. | |
| page | No | From 1. | |
| sort | No | By approval date, or alphabetical 'title' (stable for paging). | newest |
| limit | No | ||
| match | No | all_words: every whole word; phrase: adjacent; part_of_word: substring (widest); any_word. | all_words |
| query | No | Words to find, e.g. 'مالیات بر ارزش افزوده'. | |
| status | No | Legal status; 'valid' undercounts. | |
| in_text | No | Search full text, not only titles. | |
| list_id | No | Id from qv_lookup(kind='list'), e.g. 113 latest laws. | |
| type_id | No | Ids from qv_lookup(kind='type'). | |
| command_no | No | شماره ابلاغ, digits, substring. | |
| subject_id | No | Ids from qv_lookup(kind='subject'). | |
| approved_to | No | Jalali 'YYYY/MM/DD'. | |
| approver_id | No | Ids from qv_lookup(kind='approver'); OR-ed. | |
| executor_id | No | Ids from qv_lookup(kind='executor'). | |
| newspaper_no | No | شماره روزنامه رسمی, digits, substring. | |
| approved_from | No | Jalali 'YYYY/MM/DD'. |