refresh_diagram
Regenerate infrastructure diagrams by providing updated Python code using the diagrams DSL.
Instructions
Regenerate a diagram from updated code (app-only tool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code using the diagrams package DSL to regenerate a diagram. | |
| filename | No | Optional output filename for the generated diagram (without extension). | |
| timeout | No | Timeout in seconds for diagram generation (1-300). | |
| workspace_dir | No | Optional workspace directory for output files. |