clean_sandbox_artifacts
Removes verified transient files and directories from a workspace to free disk space and keep repositories clean, with dry-run previews and age filters protecting active sessions.
Instructions
Safely sweep verified transient files and directories to recover disk space and maintain repository cleanliness.
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": {
"workspacePath": "<workspacePath>"
},
"name": "clean_sandbox_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, only report what would be deleted without actually deleting. | |
| minAgeMinutes | No | Minimum age in minutes. Files modified more recently will be skipped to avoid disrupting active agent sessions. | |
| workspacePath | Yes | Target workspace path. |