freecad_add_sketch_slot
Adds an oblong slot with semicircular ends to a FreeCAD sketch by defining two center points and slot width for parametric CAD modeling.
Instructions
Add a slot (oblong/stadium shape) to a sketch — a rectangle with semicircular ends
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": {
"sketchName": "<sketchName>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>",
"width": "<width>"
},
"name": "freecad_add_sketch_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | First center X coordinate | |
| x2 | Yes | Second center X coordinate | |
| y1 | Yes | First center Y coordinate | |
| y2 | Yes | Second center Y coordinate | |
| width | Yes | Slot width (diameter of the semicircular ends) | |
| sketchName | Yes | Name of the sketch |