render_hierarchy_html
Render inline mappings, sequences, JSON, or YAML into safe self-contained hierarchy HTML without filesystem access, and optionally write the output to an authorized absolute folder.
Instructions
Render safe self-contained hierarchy HTML and optionally save it.
Inline mappings, sequences, JSON, and YAML require no filesystem access. An explicit source path, custom theme folder, or output folder must be absolute and resolve beneath the hierarchy roots. A filename without an explicit or configured output folder returns inline HTML without writing a file.
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": {
"source": "<source>"
},
"name": "render_hierarchy_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Packaged or custom theme base name without `.css`. | default |
| title | No | Browser and page title. | Hierarchy |
| source | Yes | Inline mapping, sequence, JSON, YAML, or an absolute JSON/YAML path. | |
| numbering | No | Add one-based dotted hierarchy numbers. | |
| checkboxes | No | Add read-only completion markers. | |
| output_folder | No | Optional absolute destination beneath an authorized hierarchy root. | |
| themes_folder | No | Absolute folder for a custom theme, or null for packaged themes. | |
| completed_items | No | Exact dotted paths rendered as complete; requires checkboxes. | |
| output_filename | No | Optional base HTML filename without a directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |