generate_scene_script
Convert a JSON scene description into a Blender Python script for review or manual execution, without running it.
Instructions
Generate a bpy Python script from a JSON scene description WITHOUT executing it.
Returns the script as a string for review or manual execution. See build_scene_from_json for the JSON format.
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_json": "<scene_json>"
},
"name": "generate_scene_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |