Get component details
query_componentRetrieves full details for a component from a schematic design by reference designator, including MPN, value, and pin-to-net mappings for design review.
Instructions
Get full component details including all pin connections. Refdes lookup is case-insensitive. Returns MPN, description, value, and pin-to-net mappings when available. Each pin maps to its net name, or to {name, net, type, hidden} carrying whichever of these it has: a function name that differs from its number, the electrical type its symbol declares (input, output, bidirectional, tristate, open_collector, open_emitter, passive, power and the like), and hidden: true for a pin the symbol does not draw. A pin on no net reads as the net "NC", a marker and not a queryable net. If the schematic gives the refdes to several different parts, the result lists every part under components, each carrying error: "Reference designator is duplicated". pins 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. A duplicated refdes counts its parts' pins together. If the refdes is not found, search_components_by_refdes finds it; errors include guidance and suggestions.
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": {
"design": "<design>",
"refdes": "<refdes>"
},
"name": "query_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | Yes | Path to design file | |
| offset | No | Index of the first pins entry to return, from next_offset. Default: 0. | |
| refdes | Yes | Component reference designator | |
| max_results | No | Max pins 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 |