Read a law's text
rk_law_textRead the full text of an Iranian law or ruling from the Official Gazette by code, with offset and max_chars controls to retrieve long documents in parts.
Instructions
Read the full text of one law or ruling from the Official Gazette (rrk.ir): approver, gazette number and date, body.
Use with a code from a search. An unlisted code is located by paging the list (slow, 10-60 s; old laws may
not be found). Long texts are cut at max_chars; continue with offset = next_offset.
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": {
"code": "<code>"
},
"name": "rk_law_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Law `code` from rk_search_laws or rk_latest_laws. | |
| offset | No | Character to start from. | |
| max_chars | No | Most characters to return. |