fn list_drives() -> Vec<Value>Expand description
Enumerate drives/mounts to surface as editor file-tree roots alongside
$HOME (via the geteditorroots RPC). On macOS this returns nothing, so
the file-tree’s roots are limited to $HOME — /, /Volumes, and external
mounts aren’t offered as starting points (root scoping for the tree, not a
sandbox; see the note at the macOS arm). On Linux/Windows it exposes the
filesystem root + mounts.
Spec: specs/SPEC_EDITOR_FILE_TREE_2026-05-26.md (multi-root follow-up).