sch_trace
Lists each pin's net and all other pins on that net for a given reference designator, using the cached netlist. Unconnected pins return null.
Instructions
For one component, list each pin's net and everything else on that net. Unconnected pins have net null. Uses the cached netlist.
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": {
"schematic_path": "<schematic_path>",
"ref": "<ref>"
},
"name": "sch_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | Pin number to restrict to; all pins when omitted. | |
| ref | Yes | Reference designator, e.g. U1 or R12. | |
| schematic_path | Yes | A .kicad_sch file, absolute or relative to the workspace. Any sheet of the project works; the root sheet is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| pins | Yes | ||
| value | Yes | ||
| footprint | Yes | ||
| sheet_path | Yes |