rest_initialize_host
Initializes a disposable Rest host for cloth simulation: open a saved .zprj copy, enable Pinching Simulation Override, poll status to completion, restore settings, and reopen the working project.
Instructions
Initialize the native Rest host in a fresh, minimized MD process.
Open a disposable saved .zprj copy and enable Pinching Simulation Override through the existing Rest tools first. Supply the SHA-256 of that copy. Simulation may change in-memory cloth positions. The tool never saves the project. Poll md_operation_status with the same request ID until settled, then restore the original Override value and reopen the working project.
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": {
"scene_token": "<scene_token>",
"scratch_project_sha256": "<scratch_project_sha256>",
"request_id": "<request_id>"
},
"name": "rest_initialize_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | ||
| scene_token | Yes | ||
| scratch_project_sha256 | Yes |