cad_sketch_rectangle
Adds a constrained rectangle to a CAD sketch from two corner points, returning line IDs for bottom, right, top, and left edges.
Instructions
Add a constrained rectangle; returns {bottom,right,top,left} line ids.
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": {
"sessionId": "<sessionId>",
"corner1": "<corner1>",
"corner2": "<corner2>"
},
"name": "cad_sketch_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| corner1 | Yes | ||
| corner2 | Yes |