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/.
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": {
"service": "<service>"
},
"name": "remove_scaffold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |