Opentoonz Clean
opentoonz_cleanDelete generated OpenToonz workspace files to reclaim disk space. Select drawings, renders, scripts, orphans, or all; deletion is irreversible, but the workspace remains reusable.
Instructions
Delete a workspace's generated files to reclaim disk space.
what selects drawings, render, scripts, orphans (drawings no scene references), or all (the default). Only the contents are removed — the workspace itself is kept, so it can be reused.
This is irreversible. When the client supports it, the user is asked to confirm through an elicitation prompt; otherwise pass confirm=true explicitly (which is also how automation and tests proceed).
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": {
"workspace": "<workspace>"
},
"name": "opentoonz_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | all | |
| confirm | No | ||
| workspace | Yes |