remove
Delete files or directories permanently, with recursive mode for non-empty directories. Verify the path first to prevent data loss.
Instructions
Removes a file or directory.
IMPORTANT: This action is permanent. Always verify the path before calling.
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": "remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file or directory to remove. | |
| recursive | No | Whether to recursively remove a directory and all its contents. IMPORTANT: This MUST be set to `true` to remove a non-empty directory. Defaults to `false` if not specified. |