Read a section of a code
leginova_read_code_sectionRetrieves full text of a legal code section with all articles in reading order. For long sections, pass an offset to get the next chunk.
Instructions
Full text of a code section (chapter, section...) with all its articles, in reading order. Long sections are returned in chunks: pass back offset to continue.
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_slug": "<code_slug>",
"section_slug": "<section_slug>"
},
"name": "leginova_read_code_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| code_slug | Yes | Code slug, e.g. "code-du-travail-de-nouvelle-caledonie" (see leginova_list_codes) | |
| max_chars | No | ||
| section_slug | Yes | From leginova_get_code_outline or a SECTION_CODE search result |