silhouette_add_rectangle
Add a rectangle at specified millimeter coordinates to a vector design, with optional rounded corners, clockwise rotation, and CUT/SCORE/PERF layer assignment.
Instructions
Add a rectangle whose top-left corner is at (x_mm, y_mm). corner_radius_mm > 0 rounds the corners (clamped to half of the smaller side). rotation_deg rotates clockwise around the rectangle center. layer defaults to 'CUT' (or 'SCORE', 'PERF').
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": {
"design": "<design>",
"x_mm": "<x_mm>",
"y_mm": "<y_mm>",
"width_mm": "<width_mm>",
"height_mm": "<height_mm>"
},
"name": "silhouette_add_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | Yes | ||
| y_mm | Yes | ||
| label | No | ||
| layer | No | CUT | |
| design | Yes | ||
| width_mm | Yes | ||
| height_mm | Yes | ||
| rotation_deg | No | ||
| corner_radius_mm | No |