delete_elements
Delete vector elements by ID in an SVG document, including their children, attached connectors, labels, and unused definitions. Returns removed IDs and defs count.
Instructions
Delete elements (and their children) by id. Connectors attached to them and their labels
are deleted too; all removed ids are returned. Defs only they used (symbols of an imported library,
gradients, clip paths) go too: defs_removed counts them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| doc_id | No |