cavalry_get_bounding_box
Retrieve the bounding box of a layer to determine its position and dimensions. Use this data to align and position elements accurately.
Instructions
Get the bounding box of a layer (useful for positioning).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layerId": "<layerId>"
},
"name": "cavalry_get_bounding_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | The layer ID |