move_to_trash
Move approved scan results to the OS trash for restorable cleanup. Skips unscanned or protected paths and requires explicit user consent.
Instructions
指定パスをOSのゴミ箱(Trash/Recycle Bin)へ移動する。完全削除はしない。 必ずユーザーの明示的な同意を得てから実行すること。 スキャン結果にないパスや保護パスは skip される。
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": {
"scan_id": "<scan_id>",
"paths": "<paths>"
},
"name": "move_to_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ゴミ箱へ移動するパス。そのスキャン結果に含まれるもののみ | |
| scan_id | Yes | scan_cleanup_targets が返した scan_id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moved | Yes | ||
| failed | Yes | ||
| skipped | Yes | ||
| moved_mb | Yes |