freecad_draft_rectangle
Create a Draft rectangle on the XY plane by specifying width and height, with optional corner coordinates and name for adding rectangular geometry in FreeCAD.
Instructions
Create a Draft rectangle on the XY plane
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": {
"width": "<width>",
"height": "<height>"
},
"name": "freecad_draft_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Corner X position (default 0) | |
| y | No | Corner Y position (default 0) | |
| z | No | Corner Z position (default 0) | |
| name | No | Name for the rectangle | |
| width | Yes | Rectangle width (X direction) | |
| height | Yes | Rectangle height (Y direction) |