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.
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": {
"code": "<code>"
},
"name": "execute_python"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| allow_potentially_modal | No |