export_scene
Exports the current SketchUp scene to a temporary file in skp, obj, dae, stl, png, or jpg format for sharing or further processing.
Instructions
Export the current scene to a temp file on the SketchUp host.
Formats: skp (native), obj / dae / stl (geometry), png / jpg (viewport render, default 1920×1080). The file is written on the machine running SketchUp — on a split-host setup the path is not directly readable here. An untitled model cannot be exported to skp (-32602) — the user must save it first; other formats work.
Returns: JSON {path, format}.
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": "export_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | skp (native), obj / dae / stl (geometry), png / jpg (viewport render) | skp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |