add_part
Add a part. symbol is a KiCad 10 library symbol (Library:Name, e.g. Regulator_Linear:L7805, Device:R, Device:C, Device:LED, MCU_Microchip_ATmega:ATmega328P-P); with a symbol, pins come from the library and connect accepts pin names or numbers. Without a symbol give pins; two-pin R/C/L/D/LED/F parts get Device symbols. part_number is the orderable part (e.g. LM7805) so get_bom can find Korean stock.
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": {
"project_id": "<project_id>",
"ref": "<ref>",
"value": "<value>"
},
"name": "add_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| pins | No | ||
| value | Yes | ||
| symbol | No | ||
| footprint | No | ||
| project_id | Yes | ||
| description | No | ||
| part_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||