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.
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": "get_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| visible_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||