KeyValue icon

KeyValue

Store and retrieve key-value pairs on the filesystem

Actions20

Vault → Tree

AI-generated

Summary

Display the directory tree structure of the key-value vault starting from a specified path up to a maximum depth.

Inputs

  • Path — Directory path to start from. Leave empty to start from the vault root.
  • Max Depth — Maximum depth of directories to include in the tree, from 1 to 10.

Output shape

a single JSON object containing the tree as a string, plus arrays listing directories and files with their sizes

The tree output is a text representation of the directory structure with indentation and connectors; the directories and files arrays list relative paths of directories and files (with size in bytes) respectively, limited by maxDepth. If the specified start path does not exist, no output is returned for that item.

Links

Discussion