Read a law's text
qv_lawRead an Iranian law, regulation, court vote or opinion as paged sections with article text, amendment status and optional interpretive opinions; fetch one article or a date-specific version.
Instructions
Read the text of a law, regulation, court vote or opinion as sections (articles, notes, headings).
Sections: id, label, text, status (amended, repealed, opinion), history: true (see qv_article_history).
Paged by offset/next_offset within max_chars; the civil code takes about 15 s. Use article for one article.
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": {
"ids": "<ids>"
},
"name": "qv_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Id from qv_search, e.g. '12021850837713548188'. | |
| date | No | Jalali 'YYYY/MM/DD': text as of that date. | |
| offset | No | Sections to skip (next_offset). | |
| article | No | Only this article with its notes, e.g. '10', '10 مکرر'. | |
| max_chars | No | Text budget. | |
| with_opinions | No | Add interpretive opinions (نظر تفسیری). |