draw_rectangle_in_sketch
Draw a rectangle in a FreeCAD sketch by specifying two corner coordinates. Define the rectangle's position and size with x1, y1, x2, y2.
Instructions
FreeCAD tool: draw_rectangle_in_sketch
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": "draw_rectangle_in_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch_name | No | Body name | |
| x1 | No | Corner X1 | |
| y1 | No | Corner Y1 | |
| x2 | No | Corner X2 | |
| y2 | No | Corner Y2 |