onshape_get_mass_properties
Retrieve mass, volume, centroid, and inertia for an Onshape Part Studio or a specified part; assign materials to enable mass calculation.
Instructions
Mass, volume, centroid and inertia of a Part Studio (or one part via part_id). Requires materials for mass.
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": {
"did": "<did>",
"wvm": "<wvm>",
"wvmid": "<wvmid>",
"eid": "<eid>"
},
"name": "onshape_get_mass_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| eid | Yes | ||
| wvm | Yes | ||
| wvmid | Yes | ||
| part_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |