living-docs
v0.3.2Turn a source document into a designed, self-contained living doc: academic paper, dark reading notes, or telemetry console.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
living_docs_themes
List the living-doc themes and what each is best for.
living_docs_schema
Show the document-model schema: block types and fields, or one block in detail.
| Parameter | Type | Description |
|---|---|---|
block | string | Block type for detailed fields, e.g. figure |
living_docs_ingest
Read a source (path, URL, or text) and return its outline. With draft=true, also build a renderable model from the source.
| Parameter | Type | Description |
|---|---|---|
draft | boolean | Include a draft document model built from the source |
max_chars | number | Section text limit, default 12000 |
out | string | Write the draft model JSON to this path |
path | string | Source file: md, txt, html, pdf |
section | string | Return one section: 1-based index or id |
seed | string | Hex accent seed for the draft, overriding the one derived from the title |
static | boolean | Draft without the auto-generated timeline cues |
text | string | Inline source text |
theme | string | Theme for the draft; omit to let the source pick a look |
url | string | Source URL |
living_docs_render
Validate a document model and write a self-contained HTML doc, or an mp4, webm, or gif of its timeline. Accepts a model object, a model path, or a source to draft from.
| Parameter | Type | Description |
|---|---|---|
format | string | html (default) or a video of the timeline; video needs playwright and ffmpeg |
fps | number | Video frames per second, default 30 |
model | object | Document model object |
model_path | string | Path to a model JSON file |
out | string | Output path, default docs/<title>-<theme>.<format> |
size | string | Video stage size, default 1080x1350 |
source | string | Source path or URL to ingest and draft from |
theme | string |
living_docs_preview
Serve a built docs directory over HTTP and list the documents. Returns the URL (server stays up in this process).
| Parameter | Type | Description |
|---|---|---|
dir | string | Directory to serve, default docs |
port | number | Port, default 4600 |