feat: add connected_pin_count to list_schematic_nets and list_floating_labels tool
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1881,6 +1881,27 @@ SCHEMATIC_TOOLS = [
|
||||
"required": ["schematicPath"],
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "list_floating_labels",
|
||||
"title": "List Floating Net Labels",
|
||||
"description": (
|
||||
"Returns all net labels in the schematic that are not connected to any component pin. "
|
||||
"A label is 'floating' when no component pin's coordinate falls on the wire-network "
|
||||
"reachable from the label's anchor position. "
|
||||
"Floating labels indicate misplaced or off-grid labels that will cause ERC errors. "
|
||||
"Does not require the KiCad UI to be running."
|
||||
),
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schematicPath": {
|
||||
"type": "string",
|
||||
"description": "Path to the .kicad_sch schematic file",
|
||||
}
|
||||
},
|
||||
"required": ["schematicPath"],
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "snap_to_grid",
|
||||
"title": "Snap Schematic Elements to Grid",
|
||||
|
||||
Reference in New Issue
Block a user