create_geometry
Create wireframe points, lines, arcs, circles, rectangles, or polylines and return new entity IDs for chaining or drilling by entity ID.
Instructions
Create wireframe (all or nothing). Returns the new entity ids per shape, ready for chain={"entity_ids": [...]} or drilling by entity_ids. Rectangles are lines (and corner arcs) in a closed loop.
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": {
"entities": "<entities>"
},
"name": "create_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z | No | Depth in the plane for 2D shapes (default 0) | |
| color | No | ||
| level | No | Level (default: the active level) | |
| plane | No | Coordinates are in this plane (top = world, default; front, right, ... or a plane name) | |
| entities | Yes | {"type":"point","at":[x,y,z]} | {"type":"line","from":[x,y],"to":[x,y]} | {"type":"arc","center":[x,y],"radius":r,"start_angle":deg,"end_angle":deg} (CCW from plane X) | {"type":"circle","center":[x,y],"radius":r or "diameter":d} | {"type":"rectangle","corner":[x,y] or "center":[x,y],"width":w,"height":h,"corner_radius":r} | {"type":"polyline","points":[[x,y],...],"closed":true}. A third coordinate overrides z. |