delete_file
Удалить файл или папку в облаке — УДАЛЯЕТ ДАННЫЕ. key — path или provider id из list_files; is_dir — удалять папку рекурсивно. У провайдеров с корзиной восстановимо, у остальных — нет. Для дублей безопаснее execute_dedup (garантирует сохранение копии). Ошибки: 502 — провайдер отказал. Требует Pro.
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": {
"connection_id": "<connection_id>",
"key": "<key>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| is_dir | No | ||
| connection_id | Yes |