catia_sketch_rectangle
Draw a rectangle in the active sketch from two opposite corners, creating four lines that form a closed profile; coordinates are in millimeters.
Instructions
Draw a rectangle in the active sketch defined by two opposite corners. Creates 4 lines forming a closed profile. Coordinates in mm.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "catia_sketch_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | First corner X (mm) | |
| x2 | Yes | Opposite corner X (mm) | |
| y1 | Yes | First corner Y (mm) | |
| y2 | Yes | Opposite corner Y (mm) |