remove_scaffold
Remove a generated transform service directory and its project.py imports to cleanly undo scaffolding and prevent server startup failures; refuses hand-written services.
Instructions
Delete a scaffolded service directory and its imports in project.py.
Use this to undo a scaffold. Deleting server/transforms// by hand leaves its imports behind, and the server then fails to start. Restart the server afterwards. Only services the scaffolder generated are removed: a hand-written service (its api.py lacks the scaffold's generated marker) is refused, and the output says so.
Args: service: Service name slug, the directory name under server/transforms/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |