pcb_delete_invalid_objects
Removes zero-length tracks and zero-area regions from the active PCB to clean up degenerate primitives accumulated from edits and imports. Returns the count removed.
Instructions
Remove degenerate primitives from the active PCB.
Deletes zero-length tracks and zero-area regions (board hygiene that accumulates from edits and imports). Returns the count removed.
Returns: {"removed": N}.
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": "pcb_delete_invalid_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||