render_preview
Generate offscreen previews of a GLB model from selected viewpoints (iso, front, back, top, side) without an external engine.
Instructions
Offscreen renders of a GLB, no engine needed.
views: subset of iso/front/back/top/side (default [iso]). Needs pyrender in the worker venv; the error message says how to add it if missing.
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": {
"glb_path": "<glb_path>"
},
"name": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| views | No | ||
| glb_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||