list_empty_dirs
Find empty directories beneath a path, including nested directory trees, to identify folders safe for cleanup.
Instructions
Find empty directories beneath a path.
A directory counts as empty when it contains no files and every subdirectory it contains is itself empty. So a tree of nothing but directories is reported from the top down, which is what makes the result usable for cleanup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |