Screenshot
view_screenshotCapture a screenshot of the current drawing view. Use handle overlays to map each entity to its handle for precise modification.
Instructions
Capture a screenshot of the current drawing view.
COM backend: captures live AutoCAD window at current view. ezdxf backend: renders via matplotlib to PNG.
With overlay_handles, each entity is labelled with its handle at its own
centre — every modify tool takes a handle, and without the labels there is
nothing connecting "the circle at the top-left" to a hex string you can act
on. Crowded drawings are capped and the image says how many of how many were
labelled. Live AutoCAD captures its own window, so there is no render to
label there; it refuses with capability: "handle_overlay".
Returns an Image content block with the PNG data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overlay_handles | No | Label each entity with its handle, so what you see maps to what you can modify. Headless backend only. |