Draw in a sketch
add_geometryAdds curves to a sketch in its own coordinates (mm). Rectangles, polygons and slots come with their usual constraints (corners joined, sides horizontal / vertical). Returns the new entity ids per item, the degrees of freedom left, and the closed profiles to extrude.
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": {
"sketch_id": "<sketch_id>",
"items": "<items>"
},
"name": "add_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sketch_id | Yes |