preview_layer
Render a top-down image of a single sliced layer by layer number or Z height, using filament colors, so you can inspect print details before printing. Requires a sliced project.
Instructions
Image of one sliced layer seen from the top (needs slice_project first). Choose by layer number (1 = first) or by height z in mm. Extrusions are drawn in the filament colors. zoom: frame the extrusions (default), or False for the whole bed.
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": "preview_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z | No | ||
| zoom | No | ||
| layer | No | ||
| plate | No |