cad
Execute one 3D modeling operation as the unified mutation entry point for creating, editing, deleting, boolean, fillet, and batch steps, with rollback support.
Instructions
Run one CAD modeling operation; the unified mutation entry point.
obj_name is the BASE object, except for loft/sketch/variables/datum_plane/hull (the NEW object); params go in obj_properties. Committed mutations are rollback-able session steps.
Args:
obj_type: Object type for create_object, e.g. "Part::Box".
ops: Operation dicts for batch.
stop_on_error: Stop a batch at the first failure.
description: One-line purpose of the step; the Steps panel's row label.
Reference: operation_help("<operation>").
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": {
"operation": "<operation>",
"doc_name": "<doc_name>"
},
"name": "cad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | ||
| doc_name | Yes | ||
| obj_name | No | ||
| obj_type | No | ||
| operation | Yes | ||
| description | No | ||
| stop_on_error | No | ||
| obj_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |