Edit Footprint Pad
edit_footprint_padModify pad size, position, drill, or shape directly in a .kicad_mod footprint file, avoiding full footprint recreation.
Instructions
Edit an existing pad inside a .kicad_mod footprint file. Updates size, position, drill, or shape without recreating the whole footprint.
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": {
"footprintPath": "<footprintPath>",
"padNumber": "<padNumber>"
},
"name": "edit_footprint_pad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | New pad position in mm | |
| size | No | New pad size in mm | |
| drill | No | New drill size (for THT pads) | |
| shape | No | New pad shape | |
| padNumber | Yes | Pad number to edit, e.g. '1' or 2 | |
| footprintPath | Yes | Full path to the .kicad_mod file, e.g. C:/MyLib.pretty/R_Custom.kicad_mod |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |