Schematic: read
sch_readReads KiCad schematic data compactly for review or pre-edit checks: component counts, parts, pin names and nets, labels, and unconnected pins with fixes. Use filters to find exact pins.
Instructions
Read the schematic compactly: before editing an existing design, and to find exact pin names.
query: summary (default, counts) | components (ref, value, lib_id, footprint, LCSC, position) | pins (every pin of ref
with number, name, type and its net) | nets (net -> ['REF.PIN', ...], KiCad's full net names) | labels |
unconnected (pins ERC will flag, each with a ready fix). filter = case-insensitive substring.
Example: sch_read(query='pins', ref='U1') · sch_read(query='nets', filter='USB')
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sch_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | Single net for query='nets': full name ('/power/EN') or label name ('EN'). | |
| ref | No | Reference for query='pins' (e.g. 'U1'). | |
| limit | No | Max rows (default 80). | |
| query | No | ||
| sheet | No | Sub-sheet file or sheet name (default: root sheet). | |
| filter | No | Case-insensitive substring filter. | |
| project | No | project path (default: active) |