Search components by MPN
search_components_by_mpnFind components in a netlist by manufacturer part number pattern, with paged results; fall back to reference designator or description search when MPN data is absent.
Instructions
Search for components by MPN (Manufacturer Part Number) pattern. Not all netlists include MPN data; if unavailable, fall back to search_components_by_refdes or search_components_by_description, or ask the user for a BOM. component_notes names the parts with no MPN. 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_mpn"
}
}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 MPN | |
| 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 |