workspace_delete
Moves a file or folder to the workspace's .trash/ for recoverable deletion, helping prevent accidental loss of project assets.
Instructions
Move a file or folder to the workspace's .trash/ (recoverable).
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": {
"path": "<path>"
},
"name": "workspace_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the workspace root. | |
| project | No |