batch_delete
Delete multiple files or directories in one operation. Each path is handled independently, with success/failure feedback for every item.
Instructions
Delete multiple files or directories in a single operation. Each path is processed independently, and the tool will report success/failure for each item. / 批量删除多个文件或目录。每个路径独立处理,工具会报告每个项目的成功/失败状态。
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": {
"paths": "<paths>"
},
"name": "batch_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | List of file or directory paths to delete. Each path will be processed independently. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |