add_component_from_library
Add a component from KiCad's built-in library to your schematic by specifying library and symbol name.
Instructions
Add a component from KiCad's built-in library to the schematic.
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": {
"file_path": "<file_path>",
"library_name": "<library_name>",
"symbol_name": "<symbol_name>",
"reference": "<reference>",
"value": "<value>"
},
"name": "add_component_from_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| library_name | Yes | ||
| symbol_name | Yes | ||
| reference | Yes | ||
| value | Yes | ||
| footprint | No | ||
| x | No | ||
| y | No | ||
| unit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |