delete_object
Remove an object from a FreeCAD document. Specify the document and object names to delete it and get a screenshot of the updated model.
Instructions
Delete an object in FreeCAD.
Args: doc_name: The name of the document to delete the object from. obj_name: The name of the object to delete. include_screenshot: Whether to return a screenshot of the model (default True). Set to False to save tokens when visual feedback is not needed, e.g. for intermediate steps in a longer sequence of changes. view_name: The view orientation of the returned screenshot (default "Isometric"). Pick the view that best shows the change being made.
Returns: A message indicating the success or failure of the object deletion and a screenshot of the object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| obj_name | Yes | ||
| view_name | No | Isometric | |
| include_screenshot | No |