get_part_definition
Retrieve an installed part's definition to inspect footprint voxels, attachment and sealing surfaces, logic nodes, settings, mass, seal coverage, and placement eligibility with reasons.
Instructions
Return one installed part's definition: footprint voxels, attachment and sealing surfaces, logic nodes, settings, mass, seal coverage, and whether new placement is allowed (with the reason when it is not). Use it after search_parts to check how a part mounts, connects or seals; get_part_orientation solves its rotation. Read-only; fails when the definition is not installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | Definition id: the game file name without .xml, e.g. "01_block"; find ids with search_parts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||