generate_scene_script
Generate the complete Python script for the current scene, enabling animation rendering with narration and music via MCP tools.
Instructions
Generate the full Python script for the current scene.
IMPORTANT: Always use MCP tools for scene operations. Do NOT write or execute standalone manim scripts. Use render_scene() and get_render_result() for rendering instead.
Returns: The complete Python script as a string.
Example: >>> generate_scene_script()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |