search_symbols
Search KiCad schematic file for symbols matching a pattern using regex, with optional field filtering by reference, value, or library.
Instructions
Search for symbols/components matching a pattern.
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>",
"pattern": "<pattern>"
},
"name": "search_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .kicad_sch file | |
| pattern | Yes | Search pattern (supports regex) | |
| search_fields | No | Fields to search: 'all', 'reference', 'value', 'library' | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |