Get a recursive tree view of directory contents, showing the complete hierarchy.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/volcengine/OpenViking/llms.txt
Use this file to discover all available pages before exploring further.
Python SDK
HTTP API
Parameters
Viking URI of the directory
Output format:
original or agentAbstract limit (only for agent output mode)
List all hidden files (like
ls -a)Maximum number of nodes to traverse
Maximum depth level to traverse
Response
Returns a flat array of all entries in the tree, each with arel_path field showing its position in the hierarchy.
File or directory name
Size in bytes
true if directory, false if fileRelative path from the base URI
Full Viking URI
CLI
Notes
- The tree is returned as a flat array, not a nested structure
- Use
rel_pathto understand the hierarchy - Default
level_limitof 3 prevents extremely deep traversals - Use
node_limitto prevent memory issues with very large directories
