execute_python
Run Python code against the Marvelous Designer API to inspect or modify 3D garment scenes. Use with caution: code can change scenes and access files; verify results after execution.
Instructions
Execute reviewed Python; import API modules and assign result. Look up docs/runtime first. Static guard is not a sandbox; modal-risk calls require explicit override. Raw code can change the scene and access embedded Python filesystem/process capabilities. Not a sandbox. MD_MCP_ALLOW_RAW_PYTHON=0 refuses this tool. May change scene or write files. Verify resulting state. A timed-out operation is UNKNOWN: reconcile_operation before any retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| allow_potentially_modal | No |