delete_path
Delete files, empty directories, or entire folder trees on the local system. Use the recursive flag to remove non-empty directories. This action is permanent.
Instructions
Delete a file, empty directory, or—when recursive=true—a directory tree. DESTRUCTIVE and irreversible outside backups.
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": "delete_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| recursive | No | ||
| missing_ok | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||