document_cliRender
Render a saved .moho project headlessly to PNG, MP4, MOV, GIF, PSD, or SVG with frame ranges and Layer Comp filtering, without blocking the Moho GUI.
Instructions
Run Moho Pro 14.4's multi-threaded, GPU-accelerated headless CLI renderer (Moho.exe -r) on any saved .moho file to export PNG sequences, MP4, MOV, AnimatedGIF, PSD, or SVG with optional Layer Comp filtering without blocking the Moho GUI.
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": {
"projectPath": "<projectPath>"
},
"name": "document_cliRender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (PNG, MP4, MOV, AnimatedGIF, JPEG, BMP, TGA, PSD, SVG; default: PNG) | |
| halfFps | No | ||
| endFrame | No | ||
| halfSize | No | ||
| layerComp | No | Render only a specific Layer Comp by name (-layercomp) | |
| outputDir | No | Output folder (-outfolder); auto-created if missing | |
| timeoutMs | No | Render timeout in ms (default: 180000) | |
| outputFile | No | Explicit output file path (-o) instead of outputDir | |
| startFrame | No | ||
| extraSmooth | No | ||
| multithread | No | ||
| premultiply | No | ||
| projectPath | Yes | Absolute path to saved .moho project file | |
| returnImage | No | If true and PNG was produced, include first PNG frame in MCP response (default: false) | |
| antiAliasing | No | ||
| layerEffects | No | ||
| shapeEffects | No | ||
| addLayerCompSuffix | No | ||
| createFoldersForLayerComps | No |