render
Compile LaTeX documents to PDF, preview individual pages as PNG images, or export raw LaTeX source code with a single action.
Instructions
Compile and export the document.
Actions:
compile: Serialize model to .tex, compile to PDF. Returns PDF path.
preview: Render a specific page as PNG file. Returns file path and dimensions.
tex: Export the raw .tex source. Returns the LaTeX content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| output_path | No | ||
| page | No | ||
| dpi | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |