Outline bounds of a footprint placed on the board
get_footprint_boundsRetrieve the board-coordinate bounding box for a placed footprint by providing its reference designator and optional PCB file path, enabling precise spatial analysis and layout verification.
Instructions
Get the board-coordinate bounding box of a placed footprint.
Args:
reference: Footprint reference designator
pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.
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": {
"reference": "<reference>"
},
"name": "get_footprint_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcb_path | No | ||
| reference | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| position | Yes | ||
| rotation | Yes | ||
| courtyard | Yes | ||
| reference | Yes |