add_rectangle
Creates a rectangular profile on the current sketch by specifying two opposite corner coordinates, generating four connected line segments for subsequent extrusion or 3D operations.
Instructions
Add a rectangle to the current sketch.
Creates a rectangular profile defined by two opposite corner points, automatically generating four connected line segments forming a closed rectangle suitable for extrusion or other 3D operations.
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": {
"input_data": "<input_data>"
},
"name": "add_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The input data value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||