Prepare PCB copper zone or keepout mutation
easyeda_prepare_copper_keepoutPrepare safe creation, modification, deletion, or rebuild of PCB copper zones and keepouts with a preview and exact confirmation phrase before any changes are applied.
Instructions
Prepares creating, modifying, deleting, or recalculating/rebuilding copper zones and keepouts on the active PCB canvas with safety preview and exact confirmation phrase. Does not modify the PCB until confirmed.
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": {
"entity": "<entity>",
"action": "<action>"
},
"name": "easyeda_prepare_copper_keepout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Shortcut start X coordinate in mm for rectangular area. | |
| y | No | Shortcut start Y coordinate in mm for rectangular area. | |
| net | No | Net name for copper zone creation (e.g. 'GND', 'VCC'). | |
| layer | No | Placement layer (default: 1 / TopLayer). | |
| width | No | Shortcut width in mm for rectangular area. | |
| action | Yes | Action: 'create', 'modify', 'delete', or 'rebuild' (rebuild applies to copperZone). | |
| entity | Yes | Entity type to mutate: 'copperZone' or 'keepout'. | |
| height | No | Shortcut height in mm for rectangular area. | |
| points | No | Array of boundary vertices ({ x, y } in mm). Minimum 3 vertices. | |
| target | No | Expected active PCB target. | |
| zoneId | No | Primitive ID of copper zone to modify, delete, or rebuild. | |
| fillType | No | Fill style for copper zones: 'solid', 'grid', or 'none'. | |
| clearance | No | Clearance spacing in mm (for copper zones). | |
| keepoutId | No | Primitive ID of keepout to modify or delete. | |
| timeoutMs | No | ||
| properties | No | Property modifications dictionary (for modify action). | |
| keepoutType | No | Keepout restriction type: 'all', 'track', 'via', 'copper', etc. |