Browse a MEGA folder
mega_browseList files and folders in a public MEGA folder. Use path to scope into subfolders or recursive to walk entire tree. Returns name, path, type, and size.
Instructions
List files and folders in a public MEGA folder link. Use recursive to walk the entire tree, or path to scope into a subfolder. Returns name, path, type, and size for each entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Public MEGA folder/file link. Defaults to MEGA_LINK env. | |
| path | No | Subfolder path within the link to list, e.g. 'docs/2024'. | |
| recursive | No | List the full tree under the path (default false). |