set_material
Assigns an exact material name to the active SOLIDWORKS part and returns the resulting density and mass, so you can verify model properties after a material change.
Instructions
Assign a material to the active part by its exact name from list_materials (e.g. '6061 Alloy', 'AISI 304', 'ABS'). Returns the resulting density and 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": {
"name": "<name>"
},
"name": "set_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Material name exactly as listed |