Delete Surface Element
delete_surface_elementDelete a surface element by ID and optionally remove linked connectors to clean up dependencies.
Instructions
Delete a surface element by id. Set pruneConnectors=true to also delete any connectors whose source or target referenced the deleted element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| elementId | Yes | Element ID to delete | |
| workspaceId | No | Workspace ID (optional if default set) | |
| pruneConnectors | No | Also delete connectors referencing this element (default false) |