get_bounds
Retrieve the bounding box of an entire drawing or a selected layer, returning x/y min/max, width, and height in millimeters. Optionally exclude hidden layers and objects for visible-only bounds.
Instructions
Bounding box of the whole drawing (or one layer): x/y min/max, width, height (mm). visible_only=true ignores hidden layers and objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| visible_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||