Search components by refdes
search_components_by_refdesSearch components by reference designator regex, group identical parts, and page results for schematic design reviews.
Instructions
Search for components by refdes pattern. Matching is case-insensitive. Identical components are grouped for compact output, on MPN, description, comment and value together, so every field a group reports is true of every part in it. component_notes names the parts with no MPN. A notes field is returned when nothing matches. Rejects patterns that match all items; use list_components for full results. results is paged: max_results entries (default 50) from offset, and next_offset is set when there are more. Notes about parts and nets cover the page only.
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": {
"pattern": "<pattern>",
"design": "<design>"
},
"name": "search_components_by_refdes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | Yes | Path to design file | |
| offset | No | Index of the first results entry to return, from next_offset. Default: 0. | |
| pattern | Yes | Regex pattern for refdes | |
| include_dns | No | Include DNS components, flagged dns=true. Pass false for fitted parts only | |
| max_results | No | Max results entries to return. Default: 50. | |
| design_variant | No | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records none |