Get Legal Act Contents
ua_law__get_document_tocOne document's units in reading order -- and the article resolver: kind='article' with number='626' returns that article alone, urn included.
Structure only. Each entry carries the urn get_unit_fulltext takes and a
heading, or for a clause its opening paragraph as lead_text with
text_chars for the provision's full length.
Filter, do not page: the Civil Code is 5,431 units, 1,329 of them articles.
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": {
"nreg": "<nreg>"
},
"name": "ua_law__get_document_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | One unit kind: annex, article, chapter, clause, document, par_group, part, sub_clause, sub_point, subpart. | |
| nreg | Yes | Registration number, e.g. 168/97-вр. | |
| limit | No | ||
| number | No | Unit's printed number, e.g. 626. | |
| offset | No | ||
| edition_date | No | Edition id from a URN's @suffix. Omit for current. |