Clean Workspace
clean-workspaceDelete test workspaces and their history. Specify a workspace ID for targeted deletion, or remove all workspaces older than a set number of hours.
Instructions
Delete test workspace(s) and their associated history. Can delete a specific workspace by ID, or clean all old workspaces based on age. Returns a summary of deleted workspaces.
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": "clean-workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Optional workspace ID to clean. If not provided, cleans all old workspaces. | |
| olderThanHours | No | Only clean workspaces older than this many hours (safety filter) |