Search Documentation
Search across all documentation pages
list_folders
List folders in a vault. Returns a flat list of folders with names, parent IDs, and sort order. The client can build the tree structure from the flat list using parentId references.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
| vaultId | string (UUID) | optional | Vault ID. Defaults to defaultVaultId. |
Returns#
An array of folder objects, each containing the folder ID, name, parent folder ID (null for root-level folders), and sort order.
Example#
json
{
"tool": "list_folders",
"arguments": {}
}