sketch_rectangle
Creates a rectangle in an active sketch using two corner coordinates. Supports centered and construction geometry options.
Instructions
Draw a rectangle in the active sketch
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": {
"corner1": "<corner1>",
"corner2": "<corner2>"
},
"name": "sketch_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corner1 | Yes | ||
| corner2 | Yes | ||
| centered | No | Create rectangle centered at corner1 | |
| construction | No | Create as construction geometry |