Import Symbol
import_symbolCopy a symbol from one KiCad symbol library to another, with optional rename and overwrite. Creates the target library if it doesn't exist.
Instructions
Copy a symbol from one .kicad_sym library into another, with optional rename and overwrite. The target library is created if missing. A derived symbol (one using (extends ...)) needs its parent imported into the target first.
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": {
"sourceLibraryPath": "<sourceLibraryPath>",
"symbolName": "<symbolName>",
"targetLibraryPath": "<targetLibraryPath>"
},
"name": "import_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Rename the symbol on import | |
| overwrite | No | Overwrite if the symbol already exists in the target | |
| symbolName | Yes | Symbol to import | |
| sourceLibraryPath | Yes | Path to the source .kicad_sym file | |
| targetLibraryPath | Yes | Path to the target .kicad_sym (created if missing) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |