Delete components
delete_componentDelete specified components from an Altium library file. Use dry_run to preview changes without permanent modification.
Instructions
Delete one or more components from an Altium library file (.PcbLib or .SchLib). The file type is auto-detected from the extension. Returns status for each component: deleted, not_found, or error. Use dry_run=true to preview changes without modifying the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, show what would be deleted without actually modifying the file | |
| filepath | Yes | Path to the .PcbLib or .SchLib file | |
| component_names | Yes | Names of components to delete |