Show folder tree
drive_treeMap a Proton Drive folder tree with per-folder file counts and size totals, sorted largest first, so you can see storage use and unexpanded areas.
Instructions
Folder overview with per-folder file counts and size totals, largest first. Returns {files, folders, size, complete, unexpanded?, skipped?, tree}. Totals cover opened folders only; 'unexpanded' counts folders not opened (depth limit, .git/node_modules, failures). complete=false: part of the tree failed to load. Cached 5 min; refresh=true re-reads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Default /my-files. | |
| depth | No | Levels (default 2). | |
| limit | No | Max entries (default 200); rest counted in 'more'. | |
| refresh | No | Bypass the cache. | |
| foldersOnly | No | Hide files (totals still count them). |