lib_probe_footprint
Inspect a PcbLib footprint's text primitives and metadata to find where an old name persists after a rename; read-only, no changes are written.
Instructions
Read-only dump of a PcbLib footprint's name-bearing fields.
Use this to locate where an old name persists after a rename. On a PcbLib footprint, Name and Pattern are the SAME property (renaming Name writes both), and the footprint's only metadata is Name, Description, Height. So a leftover old name lives in a child primitive: this returns every text primitive's object_id and text, plus name/description/ height_mils/primitive_count. Nothing is written.
Args: footprint_name: the footprint name. library_path: optional .PcbLib path; defaults to the focused lib.
Returns: {"success": true, "footprint": "...", "description": "...", "height_mils": N, "primitive_count": N, "texts": [{"object_id": N, "text": "..."}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_path | No | ||
| footprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||