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.
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": {
"definition": "<definition>"
},
"name": "get_part_definition"
}
}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 | |||