add_cloth_sim
Apply cloth physics simulation to mesh objects by setting mass and quality parameters.
Instructions
Add a cloth physics simulation to an object.
Args: object_name: Name of the mesh object. quality: Simulation quality steps (1-80). mass: Mass of the cloth in kg.
Returns: Confirmation dict with cloth settings.
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": {
"object_name": "<object_name>"
},
"name": "add_cloth_sim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | ||
| quality | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||