List Floating Labels
list_floating_labelsIdentifies floating net labels in KiCAD schematics that aren't connected to component pins, helping locate misplaced or off-grid labels causing ERC errors.
Instructions
Returns all net labels in the schematic that are not connected to any component pin. A label is 'floating' when no component pin falls on the wire-network reachable from the label's position. Floating labels indicate misplaced or off-grid labels that cause ERC errors. Does not require the KiCAD UI to be running.
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": {
"schematicPath": "<schematicPath>"
},
"name": "list_floating_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematicPath | Yes | Path to the .kicad_sch schematic file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |