Assign Mechanical Material
mechanical_set_materialAssign a material to a named body in an ANSYS Mechanical simulation. Provide the body and material names to set the material for that specific part.
Instructions
Assign a material to exactly one named body.
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": {
"body": "<body>",
"material": "<material>"
},
"name": "mechanical_set_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| material | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| tool | Yes | ||
| error | No | ||
| message | Yes |