List media folders
list_media_foldersList media folders one level at a time to browse or navigate a workspace's folder structure, optionally under a given parent folder id. Returns each folder's id, name, and parentId.
Instructions
List one level of the workspace's media folders: the top-level folders, or the direct children of parentId - walk deeper by passing a returned id as parentId. Read-only, no paging. Returns { count, total, items: [{ id, name, parentId }] }. Use an id as folderId for upload_media or move_media; create a folder with create_media_folder, rename or move one with update_media_folder.
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": "list_media_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parentId | No | List the folders directly under this parent folder id; omit for the top-level folders |