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.
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": "mega_browse"
}
}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). |