Rename Symbol
rename_symbolRename a symbol in a KiCad symbol library, updating sub-shards and derived references, while leaving placed schematic instances unchanged.
Instructions
Rename a symbol in a .kicad_sym library, including its sub-symbol shards (name_0_1, ...) and any (extends ...) references from derived symbols in the same library. Note: schematics that already place the old lib_id are NOT updated — use replace_instance_lib_ids for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New symbol name | |
| oldName | Yes | Current symbol name | |
| libraryPath | Yes | Path to the .kicad_sym file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |