Add Schematic Component
add_schematic_componentAdd a component to a KiCAD schematic by specifying the symbol (library:name) and reference, with optional position, rotation, value, and footprint.
Instructions
Add a component to the schematic. Symbol format is 'Library:SymbolName' (e.g., 'Device:R', 'EDA-MCP:ESP32-C3')
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": {
"schematicPath": "<schematicPath>",
"symbol": "<symbol>",
"reference": "<reference>"
},
"name": "add_schematic_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit number for multi-unit symbols (1=A, 2=B, 3=C, …). Defaults to 1. | |
| angle | No | Rotation angle in degrees (KiCad CCW). 0=vertical resistor, 90=horizontal. Defaults to 0. | |
| value | No | Component value | |
| symbol | Yes | Symbol library:name reference (e.g., Device:R, EDA-MCP:ESP32-C3) | |
| mirrorY | No | Mirror the symbol horizontally (flip left-right). Useful for transistors facing opposite direction. | |
| position | No | Position on schematic | |
| footprint | No | KiCAD footprint (e.g. Resistor_SMD:R_0603_1608Metric) | |
| reference | Yes | Component reference (e.g., R1, U1) | |
| schematicPath | Yes | Path to the schematic file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |