vw_delete_objects
Permanently deletes objects by UUID in an open Vectorworks drawing. Bulk deletion is all-or-nothing: if any UUID is unknown, nothing is removed and the call fails.
Instructions
Permanently delete objects by UUID; the one write that vw_revert_last cannot undo. Only Cmd-Z inside Vectorworks can bring them back, and the deletion also blocks reverting earlier journaled edits, so confirm with the user before calling it. To undo something a tool placed, use vw_revert_last instead of deleting by hand. All-or-nothing: if any UUID is unknown nothing is deleted. Returns {deleted: n}.
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": {
"uuids": "<uuids>"
},
"name": "vw_delete_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuids | Yes | UUIDs of the objects to delete, from vw_find_objects, vw_get_selection or a tool result. At least one; one unknown UUID deletes nothing. | |
| document | No | Name of the document this call may change, as listed by vw_list_documents. If given and another document is in front, nothing changes and the call fails; use vw_switch_document first. Always pass it for writes. |