create_rectangle
Draw a 2D rectangle in FreeCAD by specifying lower-left corner, width, height, and optional layer. Returns name, dimensions, and bounds.
Instructions
Draw a 2D rectangle in the open FreeCAD (XY plane, all values in mm).
(x, y) is the lower-left corner; width x height default to 10000 x 8000 mm. layer puts it on a named layer (created on first use;
without one the rectangle is on no layer and escapes layer filters). Returns name, dimensions and bounds.
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": "create_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| layer | No | ||
| width | No | ||
| height | No | ||
| fit_view | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||