calc_mass_rollup
Compute total mass and 3D center of gravity from a component list, then optionally verify the CG lies within a specified envelope.
Instructions
Total mass and 3D center of gravity from a component list — each item {name, mass_g, x_mm, y_mm, z_mm} measured from one datum. Pass envelope {x_min_mm, x_max_mm, y_min_mm, y_max_mm, z_min_mm, z_max_mm} (any subset of axes) to get a CG-within-envelope verdict.
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": {
"components": "<components>"
},
"name": "calc_mass_rollup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | No | ||
| components | Yes |