search_symbols
Find schematic components by matching reference, value, or library ID against a case-insensitive regular expression pattern.
Instructions
Find the components of a schematic whose reference, value or library ID match 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 |
|---|---|---|---|
| pattern | Yes | A regular expression (no difference of case). | |
| file_path | Yes | A .kicad_sch file of the project. | |
| search_fields | No | The fields to search: "all" (default), "reference", "value" or "library". | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |