list_schematic_components
Retrieve all components from a KiCad schematic file, with optional filters for component type, value, or DNP status.
Instructions
List all components in a KiCad schematic file.
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>"
},
"name": "list_schematic_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .kicad_sch file | |
| filter_type | No | Optional filter by component type prefix (e.g., 'R', 'C', 'U', 'IC') | |
| filter_value | No | Optional filter by component value (partial match) | |
| filter_dnp | No | Optional filter by DNP flag (True=only DNP, False=only non-DNP) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |