cleanup_orphaned_projects
Identifies and removes orphaned project directories by checking for inactivity and age. Defaults to dry run for safety.
Instructions
Clean up orphaned or unused project directories
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_orphaned_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_path | No | The base directory path to search for orphaned projects. Defaults to user's home directory. | /root |
| days_threshold | No | The number of days since last modification to consider a project orphaned. Defaults to 30 days. | |
| dry_run | No | Whether to perform a dry run without actually deleting files. Defaults to true for safety. |