screenshot
Capture the SketchUp viewport as a PNG image, then automatically roll back camera, hidden tags, sections, and guides without creating an undo step.
Instructions
Capture the SketchUp viewport as a PNG image. All temporary state changes made to take the shot (camera, hidden tags/entities, section plane, guide visibility) are rolled back afterwards, and the model's modified flag is left as it was found — this never creates an undo step. All lengths and coordinates are in metres.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | 'current' (default, leaves the camera untouched), one of 'iso'/'top'/'front'/'back'/'left'/'right' (set to orthographic), or {'eye': [x,y,z], 'target': [x,y,z]} in metres for a custom shot. | |
| width | No | Image width in pixels (default 1280, capped at 1920) | |
| height | No | Image height in pixels (default: derived from the viewport's aspect ratio) | |
| isolate | No | Only show these top-level group names; hide everything else at the top level | |
| section | No | Horizontal cut plane: hides everything above this Z, e.g. for a floor plan seen from above (use with view:'top'). | |
| zoom_to | No | Top-level group names to zoom/frame before capturing | |
| hide_tags | No | Tag (layer) names to hide just for this shot | |
| hide_guides | No | Hide construction lines/points before capturing (default true) |