layer_renderImage
Render a single isolated Moho layer to a transparent PNG and return its world bounds and image, with controls for output path, trimming, and dimensions.
Instructions
Render a single isolated layer directly to a transparent PNG via Moho 14.4 RenderLayerImage and return its world bounds and image.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "layer_renderImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| outputPath | No | Optional destination PNG path | |
| trimResult | No | Trim transparent padding around layer bounds (default: false) | |
| returnImage | No | Include base64 PNG in MCP response (default: true) | |
| maxDimension | No | Maximum pixel dimension (default: 2048) | |
| minDimension | No | Minimum pixel dimension (default: 512) | |
| embedColorProfile | No |